:root{--b:#111827;--m:#667085;--l:#e7e9ee;--bg:#f7f8fa;--g:#16834a;--r:#b42318}.b2b-support-app{background:#fff;border:1px solid var(--l);border-radius:18px;overflow:hidden}.b2b-support-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px;border-bottom:1px solid var(--l)}.b2b-support-head h3{margin:4px 0;font-size:22px}.b2b-support-head p{margin:0;color:var(--m);font-size:11px}.b2b-support-layout{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:600px}.b2b-support-list-panel{border-right:1px solid var(--l);background:#fbfcfd}.b2b-support-list-toolbar{padding:12px;border-bottom:1px solid var(--l);display:flex;gap:8px;align-items:center}.b2b-support-list-toolbar input{width:100%;padding:10px 11px;border:1px solid #dfe3e8;border-radius:9px}.b2b-support-unread{background:#111827;color:#fff;border-radius:999px;min-width:25px;height:25px;display:grid;place-items:center;font-size:10px;font-weight:800}.b2b-support-threads{max-height:650px;overflow:auto}.b2b-support-thread{display:block;width:100%;border:0;border-bottom:1px solid #eef0f3;background:#fff;text-align:left;padding:14px;cursor:pointer}.b2b-support-thread:hover,.b2b-support-thread.active{background:#f4f7fb}.b2b-support-thread.unread{box-shadow:inset 3px 0 #111827}.b2b-support-thread-top{display:flex;justify-content:space-between;gap:8px}.b2b-support-thread-top b{font-size:12px;color:#101828;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b2b-support-thread-top small{font-size:9px;color:#98a2b3;white-space:nowrap}.b2b-support-reseller{display:block;font-size:10px;color:#475467;font-weight:800;margin-top:5px}.b2b-support-preview{display:block;color:#667085;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.b2b-support-thread-bottom{display:flex;align-items:center;gap:6px;margin-top:8px}.b2b-support-thread-bottom em{font-style:normal;font-size:8px;font-weight:800;padding:4px 7px;border-radius:20px;background:#eef2f6;color:#667085}.b2b-support-thread-bottom em.open{background:#eaf7ef;color:#13733f}.b2b-support-thread-bottom em.pending{background:#fff6df;color:#9a6700}.b2b-support-thread-bottom em.closed{background:#f2f4f7;color:#667085}.b2b-support-thread-bottom i{color:#b42318;font-size:10px;margin-left:auto}.b2b-support-chat{min-width:0;background:#fff;display:flex;flex-direction:column}.b2b-support-empty{margin:auto;text-align:center;color:#98a2b3;display:flex;flex-direction:column;gap:6px}.b2b-support-empty div{font-size:34px}.b2b-support-empty b{color:#344054}.b2b-support-chat-head{padding:18px 20px;border-bottom:1px solid var(--l);display:flex;justify-content:space-between;gap:15px;align-items:center}.b2b-support-chat-head h4{margin:4px 0;font-size:16px}.b2b-support-chat-head small{color:var(--m);font-size:10px}.b2b-support-chat-head select{padding:9px 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff}.b2b-support-messages{padding:20px;overflow:auto;max-height:460px;background:#f8fafc;flex:1}.b2b-support-msg{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:12px}.b2b-support-msg.mine{align-items:flex-end}.b2b-support-msg-bubble{max-width:min(75%,650px);background:#fff;border:1px solid #e4e7ec;border-radius:14px 14px 14px 4px;padding:11px 13px;font-size:12px;line-height:1.55;color:#344054;box-shadow:0 2px 8px rgba(16,24,40,.03)}.b2b-support-msg.mine .b2b-support-msg-bubble{background:#111827;color:#fff;border-color:#111827;border-radius:14px 14px 4px 14px}.b2b-support-msg small{font-size:8px;color:#98a2b3;margin-top:4px}.b2b-support-form{padding:14px 18px;border-top:1px solid var(--l);display:grid;grid-template-columns:1fr auto;gap:9px}.b2b-support-form textarea{min-height:52px;max-height:120px;resize:vertical;padding:11px;border:1px solid #d0d5dd;border-radius:10px}.b2b-support-form .b2b-btn{align-self:end}.b2b-support-new{max-width:650px;width:calc(100% - 40px);margin:auto;padding:28px}.b2b-support-new h4{font-size:22px;margin:6px 0 18px}.b2b-support-new input,.b2b-support-new textarea{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #d0d5dd;border-radius:10px;margin-bottom:10px}.b2b-support-new textarea{min-height:150px;resize:vertical}.b2b-support-new .b2b-btn{margin-top:5px}.b2b-catalog{padding:20px 0}.b2b-catalog-head h2,.b2b-login-card h2{font-size:30px;margin:6px 0}.b2b-catalog-head p,.b2b-login-card p{color:var(--m);font-size:13px}.b2b-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;background:#fff;border:1px solid var(--l);border-radius:14px;padding:14px;margin:22px 0}.b2b-filters label,.b2b-inline-filters label{font-size:11px;font-weight:700;color:#667085}.b2b-filters input,.b2b-filters select,.b2b-inline-filters input,.b2b-inline-filters select{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #dfe2e8;border-radius:9px;background:#fff}.b2b-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.b2b-product-card{background:#fff;border:1px solid var(--l);border-radius:15px;overflow:hidden}.b2b-product-image{background:#f3f4f6;aspect-ratio:1;display:grid;place-items:center}.b2b-product-image img{width:100%;height:100%;object-fit:contain}.b2b-product-body{padding:14px}.b2b-product-brand{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8a909d;font-weight:800}.b2b-product-card h3{font-size:14px;margin:5px 0 8px}.b2b-stock{font-size:11px;font-weight:700;margin-bottom:8px}.b2b-stock.in{color:var(--g)}.b2b-stock.out,.b2b-stock-out{color:var(--r)}.b2b-product-price{font-size:17px;font-weight:850;margin:7px 0 10px}.b2b-btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:9px;padding:11px 15px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.b2b-btn-dark{background:var(--b);color:#fff}.b2b-btn-light{background:#fff;color:var(--b)}.b2b-login-required,.b2b-admin-note,.b2b-login-card{max-width:620px;margin:45px auto;background:#fff;border:1px solid var(--l);border-radius:17px;padding:28px}.b2b-login-card form{margin-top:18px}.b2b-login-card input{width:100%;padding:11px;border:1px solid #dfe2e8;border-radius:9px}.b2b-login-card button{background:var(--b);color:#fff;border:0;border-radius:9px;padding:12px 17px}.b2b-dashboard{display:flex;min-height:650px;background:var(--bg);border:1px solid var(--l);border-radius:18px;overflow:hidden}.b2b-dash-side{width:220px;background:#fff;border-right:1px solid var(--l);padding:20px 12px}.b2b-side-logo{display:flex;align-items:center;gap:9px;padding:5px 7px 22px;font-weight:800}.b2b-side-logo>b{width:37px;height:37px;border-radius:11px;background:var(--b);color:#fff;display:grid;place-items:center}.b2b-side-logo small{display:block;color:var(--m);font-size:10px;font-weight:500}.b2b-dash-side>a{display:block;padding:11px;border-radius:9px;color:#667085;font-size:12px;font-weight:700;margin-bottom:5px}.b2b-dash-side>a.active,.b2b-dash-side>a:hover{background:#f0f2f5;color:var(--b)}.b2b-dash-main{flex:1;padding:30px;background:#f8f9fb}.b2b-dash-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.b2b-dash-top h2{font-size:25px;margin:5px 0}.b2b-dash-top p{font-size:12px;color:var(--m);margin:0}.b2b-user-pill,.b2b-level{background:#fff;border:1px solid var(--l);border-radius:30px;padding:9px 13px;font-size:11px;font-weight:800}.b2b-step-box{background:#fff;border:1px solid var(--l);border-radius:14px;padding:18px;margin-top:16px}.b2b-step-no{width:28px;height:28px;background:var(--b);color:#fff;border-radius:50%;display:inline-grid;place-items:center;font-size:11px;margin-right:8px}.b2b-step-box>b,.b2b-step-box>div>b{font-size:13px}.b2b-step-box>div small{display:block;color:var(--m);font-size:10px;margin:2px 0 12px 37px}.b2b-step-box input[type=search],.b2b-inline-filters input,.b2b-inline-filters select{padding:11px;border:1px solid #dfe2e8;border-radius:9px}.b2b-step-box>input[type=search]{width:100%;margin-top:12px}.b2b-inline-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin:12px 0}.b2b-result{display:block;width:100%;text-align:left;border:1px solid var(--l);background:#fff;padding:11px;border-radius:9px;margin-top:6px;cursor:pointer}.b2b-result small{display:block;color:var(--m);margin-top:2px}.b2b-selected-reseller{margin-top:10px;background:#eef6ff;padding:11px;border-radius:9px;font-size:12px}.b2b-selected-reseller button{float:right;border:0;background:none;text-decoration:underline;cursor:pointer}.b2b-emp-product{display:grid;grid-template-columns:1fr 100px 70px 70px;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #f0f1f3}.b2b-emp-product small{display:block;color:var(--m);font-size:10px}.b2b-emp-product input{width:100%;padding:7px;border:1px solid #ddd;border-radius:7px}.b2b-emp-product button,.b2b-remove{border:0;border-radius:7px;background:#eef0f3;padding:8px;cursor:pointer}.b2b-cart-line{display:grid;grid-template-columns:1fr auto 25px;gap:10px;padding:10px 0;border-bottom:1px solid #f0f1f3;font-size:12px}.b2b-total-row{display:flex;justify-content:space-between;padding:18px 0;font-size:12px}.b2b-total-row strong{font-size:20px}.b2b-empty{padding:20px;text-align:center;color:#8a909d;font-size:12px}.b2b-ok{padding:10px;background:#e9f7ef;color:#126b3d;border-radius:8px;margin-top:10px;font-size:12px}.b2b-error{padding:10px;background:#fff0f0;color:#a42c2c;border-radius:8px;margin-top:10px;font-size:12px}.b2b-reseller-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.b2b-reseller-cards>div{background:#fff;border:1px solid var(--l);border-radius:13px;padding:16px}.b2b-reseller-cards small{display:block;color:var(--m);font-size:10px}.b2b-reseller-cards b{display:block;margin-top:4px;font-size:15px}.b2b-hero{background:var(--b);color:#fff;border-radius:16px;padding:25px}.b2b-hero h3{margin:5px 0}.b2b-hero p{color:#c4cad3;font-size:12px}.b2b-hero .b2b-eyebrow{color:#aeb5c0}.b2b-order-filters{display:grid;grid-template-columns:2fr 1fr auto;gap:8px;margin:12px 0}.b2b-order-filters input,.b2b-order-filters select{padding:10px;border:1px solid #dfe2e8;border-radius:8px;background:#fff}.b2b-orders-table{border:1px solid #e7e9ee;border-radius:10px;overflow:auto}.b2b-orders-head,.b2b-order-row{display:grid;grid-template-columns:90px 1.5fr 1.2fr 110px 130px 230px;gap:8px;align-items:center;padding:11px 12px;font-size:11px;min-width:760px}.b2b-orders-head{background:#f6f7f9;font-size:10px;font-weight:800;color:#667085}.b2b-order-row{border-top:1px solid #f0f1f3}.b2b-status{font-style:normal;background:#f1f3f5;border-radius:20px;padding:5px 8px}.b2b-modal-open{overflow:hidden!important}.b2b-order-detail{display:none!important;position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;overflow-y:auto!important;margin:0!important;padding:28px!important;box-sizing:border-box!important;background:rgba(15,23,42,.48)!important;border:0!important;border-radius:0!important;box-shadow:none!important}.b2b-order-detail.is-open{display:flex!important;align-items:center!important;justify-content:center!important}.b2b-order-modal-shell{width:min(1080px,100%)!important;max-height:calc(100vh - 56px)!important;overflow:auto!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:22px!important;padding:24px!important;box-shadow:0 30px 90px rgba(15,23,42,.28)!important}.b2b-order-edit-head{display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:-24px;background:#fff;padding:2px 0 16px;z-index:5;border-bottom:1px solid #eef0f3}.b2b-order-edit-head>div{display:flex;flex-direction:column;gap:4px}.b2b-modal-eyebrow{font-size:9px;font-weight:900;letter-spacing:1.4px;color:#7b8494}.b2b-order-edit-head b{font-size:22px;color:#101828}.b2b-order-edit-head small{font-size:11px;color:#667085}.b2b-close-order{border:0!important;background:#f2f4f7!important;color:#344054!important;border-radius:50%!important;width:38px!important;height:38px!important;cursor:pointer!important;font-size:24px!important;line-height:1!important}.b2b-close-order:hover{background:#e4e7ec!important}.b2b-client-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:18px 0}.b2b-client-card{background:#f8fafc;border:1px solid #e7eaf0;border-radius:15px;padding:15px;font-size:11px;color:#475467;line-height:1.65}.b2b-client-card strong{display:block;color:#101828;font-size:14px;margin-bottom:2px}.b2b-client-card>span{display:block}.b2b-card-title{font-size:10px;font-weight:900;color:#667085;margin-bottom:8px;text-transform:uppercase;letter-spacing:.4px}.b2b-order-edit-section{margin-top:18px}.b2b-order-detail label{display:block;font-size:11px;font-weight:800;color:#344054}.b2b-order-detail select{display:block;margin-top:7px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;min-width:190px}.b2b-section-title{font-size:13px;font-weight:900;color:#101828;margin-bottom:8px}.b2b-edit-line{display:grid;grid-template-columns:minmax(0,1fr) 90px 110px 38px;gap:12px;align-items:center;border-bottom:1px solid #eef0f3;padding:12px 0;font-size:11px}.b2b-line-product{display:flex;align-items:center;gap:11px;min-width:0}.b2b-line-product img,.b2b-line-placeholder{width:46px;height:46px;flex:0 0 46px;border-radius:10px;object-fit:cover;background:#f2f4f7;display:grid;place-items:center}.b2b-line-product span{font-weight:700;color:#101828;overflow:hidden;text-overflow:ellipsis}.b2b-edit-qty{width:100%;box-sizing:border-box;padding:9px;border:1px solid #d0d5dd;border-radius:9px}.b2b-delete-line{border:0;background:#fff1f1;color:#b42318;border-radius:9px;padding:9px;cursor:pointer}.b2b-add-product-box{margin-top:10px;padding:12px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:13px}.b2b-add-product-box input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff}.b2b-result{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid #edf0f3;background:#fff;padding:10px 4px;cursor:pointer}.b2b-result img,.b2b-result-placeholder{width:40px;height:40px;border-radius:8px;object-fit:cover;background:#f2f4f7;display:grid;place-items:center}.b2b-result span{min-width:0}.b2b-result b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b2b-result small{display:block;color:#667085;margin-top:2px}.b2b-result strong{font-size:11px;white-space:nowrap}.b2b-total-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:17px;border-top:1px solid #e4e7ec;font-size:12px}.b2b-total-row strong{font-size:22px;color:#101828}.b2b-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.b2b-order-detail .b2b-ok,.b2b-order-detail .b2b-error{margin-top:12px}.b2b-task-dashboard{min-height:720px}.b2b-task-content{margin-top:20px}.b2b-task-card{background:#fff;border:1px solid var(--l);border-radius:16px;padding:22px}.b2b-task-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.b2b-task-heading>b,.b2b-task-heading div>b{font-size:16px}.b2b-task-heading small{display:block;color:var(--m);font-size:11px;margin-top:3px}.b2b-min-badge{font-size:10px;font-weight:800;background:#f1f3f5;padding:8px 10px;border-radius:20px;white-space:nowrap}.b2b-dash-side{position:relative}.b2b-side-bottom{position:absolute;left:12px;right:12px;bottom:15px;border-top:1px solid var(--l);padding-top:10px}.b2b-nav-icon{display:inline-grid;place-items:center;width:22px;margin-right:7px}.b2b-dashboard-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.b2b-dashboard-cards>a{background:#fff;border:1px solid var(--l);border-radius:14px;padding:20px;transition:.2s}.b2b-dashboard-cards>a:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(17,24,39,.07)}.b2b-dashboard-cards small{display:block;color:#8a909d;font-size:10px;font-weight:800;letter-spacing:1px}.b2b-dashboard-cards b{display:block;font-size:16px;margin:5px 0}.b2b-dashboard-cards span{display:block;color:var(--m);font-size:11px}.b2b-quick-actions{display:flex;gap:8px;margin-top:16px}.b2b-loading{padding:35px;text-align:center;color:var(--m);font-size:12px}.b2b-loading span{display:inline-block;width:14px;height:14px;border:2px solid #d9dde3;border-top-color:#111827;border-radius:50%;vertical-align:-3px;margin-right:8px;animation:b2bspin .7s linear infinite}@keyframes b2bspin{to{transform:rotate(360deg)}}.b2b-stock-form{margin-top:15px;padding:16px;background:#f8f9fb;border:1px solid var(--l);border-radius:12px}.b2b-stock-form label{display:block;font-size:11px;font-weight:800;color:#667085;margin-top:12px}.b2b-stock-form input,.b2b-stock-form textarea{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #dfe2e8;border-radius:8px;background:#fff}.b2b-stock-form button{margin-top:14px}.b2b-stock-selected{padding:12px;background:#fff;border:1px solid var(--l);border-radius:9px;font-size:12px}.b2b-stock-selected small{display:block;color:var(--m);margin-top:3px}.b2b-stock-history-head{grid-template-columns:1.2fr 1fr 1.7fr .6fr .7fr .6fr 1.6fr;min-width:900px}.b2b-stock-history-row{display:grid;grid-template-columns:1.2fr 1fr 1.7fr .6fr .7fr .6fr 1.6fr;gap:8px;padding:10px 12px;border-top:1px solid #f0f1f3;font-size:10px;min-width:900px}.b2b-stock-history-row:nth-child(even){background:#fafbfc}.b2b-stock-toolbar{display:flex;gap:8px;align-items:center}.b2b-stock-toolbar input,.b2b-stock-toolbar select{padding:10px 12px;border:1px solid var(--l);border-radius:8px;background:#fff;min-width:180px}.b2b-stock-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.b2b-stock-summary>div{background:#f7f8fa;border:1px solid var(--l);border-radius:10px;padding:12px}.b2b-stock-summary b{display:block;font-size:19px}.b2b-stock-summary small{color:var(--m);font-size:10px}.b2b-stock-table{border:1px solid var(--l);border-radius:12px;overflow:auto}.b2b-stock-head,.b2b-stock-row{display:grid;grid-template-columns:2.1fr 1fr .7fr 1fr 110px;gap:12px;align-items:center;min-width:850px;padding:11px 13px}.b2b-stock-head{background:#f7f8fa;color:#667085;font-size:10px;font-weight:800}.b2b-stock-row{border-top:1px solid #f0f1f3;font-size:11px}.b2b-stock-product{display:flex;align-items:center;gap:10px}.b2b-stock-product b{display:block}.b2b-stock-product small{display:block;color:var(--m);margin-top:2px}.b2b-stock-thumb{width:42px;height:42px;border-radius:8px;background:#f1f3f5;overflow:hidden;display:grid;place-items:center;flex:none}.b2b-stock-thumb img{width:100%;height:100%;object-fit:cover}.b2b-stock-number{font-size:14px}.b2b-stock-state{font-style:normal;font-size:10px;font-weight:800;padding:5px 8px;border-radius:20px;display:inline-block}.b2b-stock-state.instock{background:#eaf7ef;color:#18794e}.b2b-stock-state.low{background:#fff5dc;color:#9a6800}.b2b-stock-state.outofstock{background:#feecec;color:#b42318}.b2b-stock-edit{margin-top:14px}.b2b-stock-edit-head{display:flex;justify-content:space-between;align-items:center}.b2b-stock-edit-head small{display:block;color:var(--m);margin-top:3px}.b2b-stock-edit label{display:block;font-size:11px;font-weight:800;color:#667085;margin-top:12px}.b2b-stock-edit input,.b2b-stock-edit textarea{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid var(--l);border-radius:8px}.b2b-stock-edit .b2b-btn{margin-top:12px}.b2b-task-dashboard{align-items:stretch}.b2b-task-dashboard .b2b-dash-side{flex:0 0 240px;width:240px;box-sizing:border-box}.b2b-task-dashboard .b2b-dash-main{min-width:0;overflow:hidden}.b2b-task-dashboard .b2b-task-content{min-width:0;overflow:hidden}.b2b-task-dashboard .b2b-dash-side>a{white-space:nowrap;display:flex;align-items:center;gap:2px}.b2b-task-dashboard .b2b-nav-icon{flex:0 0 22px}.b2b-task-dashboard .b2b-side-bottom a{white-space:nowrap}.b2b-task-dashboard .b2b-orders-table{max-width:100%;overflow-x:auto}.b2b-task-dashboard .b2b-stock-history-row,.b2b-task-dashboard .b2b-stock-history-head{min-width:900px}@media(max-width:800px){.b2b-support-layout{grid-template-columns:1fr}.b2b-support-list-panel{border-right:0;border-bottom:1px solid var(--l)}.b2b-support-threads{max-height:260px}.b2b-support-chat{min-height:520px}.b2b-support-head{align-items:flex-start;flex-direction:column}.b2b-support-form{grid-template-columns:1fr}.b2b-support-msg-bubble{max-width:88%}}@media(max-width:900px){.b2b-task-dashboard .b2b-dash-side{flex:0 0 auto;width:auto}.b2b-task-dashboard .b2b-dash-side>a{white-space:nowrap}.b2b-product-grid{grid-template-columns:repeat(2,1fr)}.b2b-dashboard{display:block}.b2b-dash-side{width:auto;border-right:0;border-bottom:1px solid var(--l);display:flex;gap:5px;overflow:auto}.b2b-side-logo{display:none}.b2b-dash-side>a{white-space:nowrap}.b2b-filters,.b2b-inline-filters{grid-template-columns:1fr}.b2b-reseller-cards{grid-template-columns:1fr 1fr}}@media(max-width:600px){.b2b-stock-toolbar{display:grid;grid-template-columns:1fr}.b2b-stock-toolbar input,.b2b-stock-toolbar select{width:100%}.b2b-stock-summary{grid-template-columns:repeat(2,1fr)}.b2b-dashboard-cards{grid-template-columns:1fr}.b2b-task-heading{display:block}.b2b-min-badge{display:inline-block;margin-top:10px}.b2b-quick-actions{display:block}.b2b-quick-actions .b2b-btn{width:100%;margin-bottom:8px}.b2b-product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.b2b-product-body{padding:10px}.b2b-product-card h3{font-size:12px}.b2b-dashboard{border-radius:0}.b2b-dash-main{padding:18px 12px}.b2b-dash-top{display:block}.b2b-user-pill,.b2b-level{display:inline-block;margin-top:10px}.b2b-emp-product{grid-template-columns:1fr 75px 60px}.b2b-emp-product button{grid-column:3}.b2b-reseller-cards{grid-template-columns:1fr}.b2b-filters{padding:10px}}
/* RTL support */
html[dir=rtl] .b2b-dashboard,html[dir=rtl] .b2b-task-dashboard{direction:rtl}html[dir=rtl] .b2b-dash-side{border-right:0;border-left:1px solid var(--l)}html[dir=rtl] .b2b-support-list-panel{border-right:0;border-left:1px solid var(--l)}html[dir=rtl] .b2b-support-msg.mine{align-items:flex-start}html[dir=rtl] .b2b-support-msg:not(.mine){align-items:flex-end}

/* v4.9.3 GLOBAL WORKSPACE FALLBACK - intentionally outside media queries */
.b2b-dashboard,.b2b-task-dashboard{display:flex;min-height:650px;background:#f8f9fb;border:1px solid #e7e9ee;border-radius:18px;overflow:hidden;box-sizing:border-box}
.b2b-task-dashboard .b2b-dash-side,.b2b-dashboard .b2b-dash-side{flex:0 0 240px;width:240px;background:#fff;border-right:1px solid #e7e9ee;padding:20px 12px;box-sizing:border-box;position:relative}
.b2b-task-dashboard .b2b-dash-main,.b2b-dashboard .b2b-dash-main{flex:1;min-width:0;padding:30px;background:#f8f9fb;box-sizing:border-box}
.b2b-task-dashboard .b2b-dash-side>a,.b2b-dashboard .b2b-dash-side>a{display:flex;align-items:center;gap:7px;padding:11px;border-radius:9px;color:#667085;font-size:12px;font-weight:700;margin-bottom:5px;text-decoration:none;white-space:nowrap}
.b2b-task-dashboard .b2b-dash-side>a:hover,.b2b-task-dashboard .b2b-dash-side>a.active,.b2b-dashboard .b2b-dash-side>a:hover,.b2b-dashboard .b2b-dash-side>a.active{background:#f0f2f5;color:#111827}
.b2b-dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.b2b-dashboard-cards>a{display:block;background:#fff;border:1px solid #e7e9ee;border-radius:14px;padding:20px;text-decoration:none;color:#111827}
.b2b-quick-actions{display:flex;gap:8px;margin-top:16px}
.b2b-orders-table{max-width:100%;overflow-x:auto}
@media(max-width:900px){.b2b-dashboard,.b2b-task-dashboard{display:block}.b2b-task-dashboard .b2b-dash-side,.b2b-dashboard .b2b-dash-side{width:auto;border-right:0;border-bottom:1px solid #e7e9ee;display:flex;overflow:auto}.b2b-dashboard-cards{grid-template-columns:1fr}}

/* B2B reseller checkout — stable classic UI, independent from WooCommerce Blocks */
.b2b-checkout-page{max-width:1280px;margin:0 auto;padding:42px 0 70px;color:#111827}
.b2b-checkout-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:28px}
.b2b-checkout-head h1{font-size:38px;line-height:1.1;margin:7px 0 8px;font-weight:850;letter-spacing:-1px}
.b2b-checkout-head p{margin:0;color:#667085;font-size:14px}
.b2b-checkout-secure{background:#eef8f1;color:#167443;border:1px solid #d7efdf;border-radius:999px;padding:10px 15px;font-size:11px;font-weight:800;white-space:nowrap}
.b2b-checkout-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:18px;align-items:start}
.b2b-checkout-card{background:#fff;border:1px solid #e7e9ee;border-radius:18px;padding:24px;box-shadow:0 4px 18px rgba(16,24,40,.035)}
.b2b-checkout-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid #eef0f3;padding-bottom:17px;margin-bottom:19px}
.b2b-checkout-card-head>div{display:flex;align-items:center;gap:10px}.b2b-checkout-card-head>div>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#111827;color:#fff;font-size:10px;font-weight:850}
.b2b-checkout-card-head h2{font-size:18px;margin:0}.b2b-checkout-card-head small{color:#98a2b3;font-size:10px;margin-top:6px}
.b2b-checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.b2b-field{display:block}.b2b-field.full{grid-column:1/-1}.b2b-field>span{display:block;font-size:11px;font-weight:800;color:#344054;margin-bottom:6px}.b2b-field em{color:#b42318;font-style:normal}.b2b-field input,.b2b-field textarea{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #dfe3e8;border-radius:10px;background:#fff;color:#111827;font-size:13px;outline:none;transition:border-color .15s,box-shadow .15s}.b2b-field input:focus,.b2b-field textarea:focus{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(17,24,39,.06)}.b2b-field textarea{min-height:115px;resize:vertical}
.b2b-checkout-address-preview{background:#f7f8fa;border:1px solid #eaecf0;border-radius:13px;padding:16px;font-size:12px;line-height:1.6;color:#475467}.b2b-checkout-address-preview b{display:block;color:#101828;font-size:14px;margin-bottom:5px}.b2b-checkout-address-preview p{margin:2px 0}.b2b-checkout-note{display:flex;gap:10px;background:#f8fafc;border:1px solid #edf0f3;border-radius:12px;padding:12px;margin:15px 0 18px}.b2b-checkout-note span{font-size:16px}.b2b-checkout-note p{margin:0;color:#667085;font-size:11px;line-height:1.5}
.b2b-checkout-summary{grid-column:1/-1;background:#111827;color:#fff;border-radius:18px;padding:22px;display:grid;grid-template-columns:1fr 1fr 1.25fr auto;gap:20px;align-items:center;box-shadow:0 8px 28px rgba(16,24,40,.13)}.b2b-checkout-summary>div{display:flex;flex-direction:column;gap:5px}.b2b-checkout-summary>div>span{color:#98a2b3;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:800}.b2b-checkout-summary>div>strong{font-size:17px}.b2b-checkout-summary .total{border-left:1px solid #303846;padding-left:20px}.b2b-checkout-summary .total strong{font-size:25px}.b2b-checkout-submit{background:#fff;color:#111827;min-height:48px;padding:13px 20px;white-space:nowrap}.b2b-checkout-submit:hover{background:#f2f4f7}.b2b-checkout-summary>p{grid-column:1/-1;margin:0;color:#98a2b3;font-size:10px;border-top:1px solid #303846;padding-top:13px}.b2b-checkout-empty{background:#fff;border:1px solid #e7e9ee;border-radius:18px;padding:50px;text-align:center}.b2b-checkout-empty h2{margin:0 0 8px}.b2b-checkout-empty p{color:#667085}
@media(max-width:900px){.b2b-checkout-head{display:block}.b2b-checkout-secure{display:inline-block;margin-top:15px}.b2b-checkout-grid{grid-template-columns:1fr}.b2b-checkout-summary{grid-template-columns:1fr 1fr}.b2b-checkout-summary .total{border-left:0;padding-left:0}.b2b-checkout-submit{grid-column:1/-1;width:100%}}
@media(max-width:560px){.b2b-checkout-page{padding:25px 12px 50px}.b2b-checkout-head h1{font-size:30px}.b2b-checkout-card{padding:17px}.b2b-checkout-fields{grid-template-columns:1fr}.b2b-field.full{grid-column:auto}.b2b-checkout-summary{grid-template-columns:1fr}.b2b-checkout-summary .total{grid-column:auto}.b2b-checkout-summary>p{grid-column:auto}}

/* v5.0.0 — one-click reseller checkout */
.b2b-oneclick-checkout{max-width:1180px;margin:0 auto;padding:54px 20px 80px;color:#111827}
.b2b-oneclick-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
.b2b-oneclick-head h1{margin:6px 0 8px;font-size:38px;line-height:1.08;letter-spacing:-.035em}
.b2b-oneclick-head p{margin:0;color:#667085;font-size:14px}
.b2b-oneclick-badge{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid #dce2e8;border-radius:999px;background:#fff;font-weight:800;font-size:12px;white-space:nowrap}
.b2b-oneclick-form{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.b2b-oneclick-grid{display:grid;gap:18px}
.b2b-oneclick-card,.b2b-oneclick-summary{background:#fff;border:1px solid #e3e7ed;border-radius:18px;box-shadow:0 8px 28px rgba(15,23,42,.045)}
.b2b-oneclick-card{padding:24px}
.b2b-oneclick-card-title{display:flex;flex-direction:column;gap:5px;padding-bottom:17px;border-bottom:1px solid #edf0f3;margin-bottom:18px}
.b2b-oneclick-card-title span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8b93a1}
.b2b-oneclick-card-title strong{font-size:18px}
.b2b-oneclick-card-title em{font-style:normal;color:#98a2b3;font-size:12px;font-weight:600}
.b2b-oneclick-client{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:18px}
.b2b-oneclick-client>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.b2b-oneclick-client small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;font-weight:800}
.b2b-oneclick-client b{font-size:14px}
.b2b-oneclick-client span{font-size:12px;color:#667085;overflow-wrap:anywhere}
.b2b-oneclick-info{display:flex;gap:10px;align-items:flex-start;margin-top:20px;padding:13px 14px;border-radius:12px;background:#f7f9fb;color:#667085}
.b2b-oneclick-info>span{font-weight:900;color:#13733f}
.b2b-oneclick-info p{margin:0;font-size:11px;line-height:1.5}
.b2b-oneclick-note{display:block}
.b2b-oneclick-note>span{display:block;font-size:11px;font-weight:800;margin-bottom:8px}
.b2b-oneclick-note textarea{display:block;width:100%;box-sizing:border-box;min-height:150px;border:1px solid #dce2e8;border-radius:12px;padding:13px 14px;font:inherit;font-size:13px;resize:vertical;outline:none;background:#fff}
.b2b-oneclick-note textarea:focus{border-color:#111827;box-shadow:0 0 0 3px rgba(17,24,39,.06)}
.b2b-oneclick-summary{padding:22px;position:sticky;top:20px}
.b2b-oneclick-summary>div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #edf0f3;font-size:13px}
.b2b-oneclick-summary>div span{color:#667085}
.b2b-oneclick-summary>div strong{font-weight:800;text-align:right}
.b2b-oneclick-summary>div.total{padding:19px 0;font-size:16px;border-bottom:0}
.b2b-oneclick-summary>div.total strong{font-size:23px;letter-spacing:-.02em}
.b2b-oneclick-submit{width:100%;justify-content:center;margin-top:10px;min-height:52px;font-size:14px}
.b2b-oneclick-secure{margin:12px 0 0;text-align:center;color:#98a2b3;font-size:10px;line-height:1.5}
.b2b-oneclick-empty{background:#fff;border:1px solid #e3e7ed;border-radius:18px;padding:40px;text-align:center}
.b2b-oneclick-empty h2{margin:0 0 8px}.b2b-oneclick-empty p{color:#667085;margin:0 0 18px}
@media(max-width:900px){.b2b-oneclick-form{grid-template-columns:1fr}.b2b-oneclick-summary{position:static}.b2b-oneclick-client{grid-template-columns:1fr 1fr}.b2b-oneclick-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.b2b-oneclick-checkout{padding:30px 14px 55px}.b2b-oneclick-head h1{font-size:29px}.b2b-oneclick-client{grid-template-columns:1fr}.b2b-oneclick-card{padding:18px}.b2b-oneclick-summary{padding:18px}}

/* v5.0.1 - resilient reseller order confirmation */
.b2b-order-success-card{max-width:760px;margin:28px auto;padding:42px;border:1px solid #e3e7ee;border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.07);text-align:center}
.b2b-success-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf8ef;color:#168447;font-size:32px;font-weight:800}
.b2b-success-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:800;color:#667085;margin-bottom:10px}
.b2b-order-success-card h2{margin:0 0 10px;font-size:30px;line-height:1.2}
.b2b-order-success-card p{margin:0;color:#667085;font-size:16px}
.b2b-success-summary{margin:26px 0;padding:16px 20px;border-radius:14px;background:#f7f8fa;display:flex;justify-content:space-between;align-items:center}
.b2b-success-summary strong{font-size:20px}
.b2b-success-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

/* ===== PRO ADMIN DASHBOARD 5.1 ===== */
.b2b-pro-dashboard{display:flex;flex-direction:column;gap:18px}
.b2b-pro-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 26px;background:linear-gradient(135deg,#111827 0%,#1f2937 55%,#273449 100%);border-radius:18px;color:#fff;box-shadow:0 12px 30px rgba(17,24,39,.12)}
.b2b-pro-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:1.8px;color:#98a2b3;margin-bottom:6px}
.b2b-pro-hero h3{margin:0;font-size:25px;line-height:1.1;color:#fff}
.b2b-pro-hero p{margin:7px 0 0;color:#c7ced8;font-size:11px}
.b2b-pro-live{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;font-size:10px;font-weight:800}
.b2b-live-dot{width:8px;height:8px;border-radius:50%;background:#39d98a;box-shadow:0 0 0 4px rgba(57,217,138,.12);animation:b2blive 1.8s infinite}
.b2b-pro-live small{color:#98a2b3;font-weight:600}
.b2b-pro-refresh{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;border-radius:9px;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer}
.b2b-pro-refresh:hover{background:rgba(255,255,255,.14)}
@keyframes b2blive{0%,100%{opacity:1}50%{opacity:.45}}
.b2b-pro-alert{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #f3c46b;background:#fffaf0;border-radius:13px;color:#6b4f00;box-shadow:0 5px 16px rgba(17,24,39,.04);animation:b2bAlertIn .25s ease}
.b2b-pro-alert[hidden]{display:none!important}
.b2b-pro-alert.show{display:flex}
.b2b-alert-icon{width:30px;height:30px;border-radius:9px;background:#f59e0b;color:#fff;display:grid;place-items:center;font-weight:900}
.b2b-pro-alert strong{display:block;font-size:11px;color:#3f2f00}.b2b-pro-alert span{font-size:10px;color:#806a32}.b2b-pro-alert>a{margin-left:auto;color:#111827;font-size:10px;font-weight:900;text-decoration:none}.b2b-pro-alert>button{border:0;background:transparent;font-size:18px;color:#8a6d1f;cursor:pointer}
@keyframes b2bAlertIn{from{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}
.b2b-pro-section-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:2px}.b2b-pro-section-title span{display:block;color:#98a2b3;font-size:9px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}.b2b-pro-section-title b{display:block;margin-top:3px;font-size:16px;color:#111827}.b2b-pro-section-title>a{font-size:10px;font-weight:900;color:#475467;text-decoration:none}
.b2b-pro-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.b2b-pro-kpi{position:relative;display:block;background:#fff;border:1px solid #e7e9ee;border-radius:15px;padding:17px;text-decoration:none;color:#111827;overflow:hidden;transition:.2s;box-shadow:0 4px 14px rgba(17,24,39,.025)}
.b2b-pro-kpi:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,24,39,.07)}
.b2b-pro-kpi.kpi-accent{border-color:#d8dee8;box-shadow:inset 3px 0 0 #111827,0 4px 14px rgba(17,24,39,.025)}
.b2b-pro-kpi .kpi-icon{position:absolute;right:14px;top:13px;width:28px;height:28px;border-radius:9px;background:#f2f4f7;color:#475467;display:grid;place-items:center;font-size:13px;font-weight:900}.b2b-pro-kpi small{display:block;color:#667085;font-size:10px;font-weight:800;padding-right:35px}.b2b-pro-kpi strong{display:block;font-size:28px;line-height:1;margin:14px 0 5px;letter-spacing:-.5px}.b2b-pro-kpi em{font-style:normal;color:#98a2b3;font-size:9px;font-weight:700}
.b2b-pro-main-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:12px}
.b2b-pro-revenue-card,.b2b-pro-support-card{background:#fff;border:1px solid #e7e9ee;border-radius:15px;min-width:0}.b2b-pro-revenue-card{padding:19px}.b2b-pro-card-head{display:flex;justify-content:space-between;align-items:flex-start}.b2b-pro-card-head span:first-child{display:block;color:#98a2b3;font-size:9px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}.b2b-pro-card-head b{display:block;font-size:15px;margin-top:3px}.b2b-pro-pill{font-size:9px;font-weight:900;padding:6px 9px;border-radius:20px;background:#f2f4f7;color:#475467}.b2b-revenue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:22px;background:#eef0f3;border:1px solid #eef0f3;border-radius:12px;overflow:hidden}.b2b-revenue-grid>div{background:#fff;padding:15px}.b2b-revenue-grid small{display:block;color:#98a2b3;font-size:9px;font-weight:800}.b2b-revenue-grid strong{display:block;font-size:19px;margin-top:8px;white-space:nowrap}
.b2b-pro-support-card{display:flex;align-items:center;gap:12px;padding:18px;text-decoration:none;color:#111827;transition:.2s}.b2b-pro-support-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,24,39,.07)}.b2b-support-card-icon{width:42px;height:42px;border-radius:12px;background:#f2f4f7;display:grid;place-items:center;font-size:18px;flex:none}.b2b-support-card-body{min-width:0;flex:1}.b2b-support-card-body>span{display:block;color:#98a2b3;font-size:9px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.b2b-support-card-body>b{display:block;font-size:14px;margin-top:5px}.b2b-support-card-body>small{display:block;color:#667085;font-size:10px;margin-top:3px}.b2b-support-card-arrow{font-size:16px;font-weight:900;color:#98a2b3}.b2b-pro-support-card.has-unread{border-color:#f3c46b;box-shadow:0 0 0 2px rgba(245,158,11,.08)}.b2b-pro-support-card.has-unread .b2b-support-card-icon{background:#fff4d6}
.b2b-pro-bottom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.b2b-pro-mini-card,.b2b-pro-action-card{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #e7e9ee;border-radius:13px;padding:14px;text-decoration:none;color:#111827}.b2b-pro-mini-card>span,.b2b-pro-action-card>span{width:32px;height:32px;border-radius:9px;background:#f2f4f7;display:grid;place-items:center;font-weight:900;flex:none}.b2b-pro-mini-card small,.b2b-pro-action-card small{display:block;color:#98a2b3;font-size:9px;font-weight:700}.b2b-pro-mini-card b,.b2b-pro-action-card b{display:block;font-size:14px;margin-top:2px}.b2b-pro-action-card:hover{background:#f8f9fb}
@media(max-width:1050px){.b2b-pro-kpis{grid-template-columns:repeat(2,1fr)}.b2b-pro-bottom-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.b2b-pro-hero{display:block}.b2b-pro-live{justify-content:flex-start;margin-top:16px}.b2b-pro-main-grid{grid-template-columns:1fr}.b2b-revenue-grid{grid-template-columns:1fr}.b2b-pro-section-title{align-items:flex-start;flex-direction:column}.b2b-pro-alert{align-items:flex-start}.b2b-pro-alert>a{margin-left:0}.b2b-pro-alert{flex-wrap:wrap}}
@media(max-width:520px){.b2b-pro-kpis,.b2b-pro-bottom-grid{grid-template-columns:1fr}.b2b-pro-hero{padding:20px}.b2b-pro-hero h3{font-size:22px}.b2b-pro-kpi strong{font-size:25px}}

/* Orders — professional status colors and invoice action */
.b2b-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.b2b-status{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:6px 10px;border-radius:999px;font-style:normal;font-size:9px;font-weight:900;line-height:1.1;border:1px solid transparent}
.b2b-status.status-pending{background:#fff4d6;color:#9a6700;border-color:#f6d98b}
.b2b-status.status-processing{background:#eaf2ff;color:#175cd3;border-color:#bfd4ff}
.b2b-status.status-on-hold{background:#f4f0ff;color:#6941c6;border-color:#d9c8ff}
.b2b-status.status-completed{background:#eaf7ef;color:#13733f;border-color:#b7e1c7}
.b2b-status.status-cancelled,.b2b-status.status-failed{background:#feeceb;color:#b42318;border-color:#f6c5c1}
.b2b-status.status-refunded{background:#f2f4f7;color:#475467;border-color:#dfe3e8}
.b2b-status.status-draft{background:#eef2f6;color:#667085;border-color:#dfe3e8}
.b2b-btn-invoice{background:#fff;border:1px solid #d0d5dd;color:#111827;padding:10px 12px}
.b2b-btn-invoice:hover{background:#f7f8fa}
.b2b-order-actions .b2b-btn{white-space:nowrap}
@media(max-width:700px){.b2b-order-actions{justify-content:flex-start}.b2b-order-actions .b2b-btn{width:100%}}

/* ==================== B2B RESELLER CUSTOM CART ==================== */
.b2b-custom-cart-wrap{background:#f7f8fa;min-height:65vh;padding:30px 18px 70px}
.b2b-cart-page{max-width:1180px;margin:0 auto;color:#111827}
.b2b-cart-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:15px 0 24px}
.b2b-eyebrow{display:inline-block;font-size:10px;font-weight:900;letter-spacing:1.5px;color:#667085}
.b2b-cart-head h1{margin:5px 0;font-size:34px;letter-spacing:-1px}
.b2b-cart-head p{margin:0;color:#667085;font-size:13px}
.b2b-cart-count{background:#fff;border:1px solid #e4e7ec;border-radius:999px;padding:9px 13px;font-size:11px;font-weight:800;white-space:nowrap}
.b2b-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.b2b-cart-items,.b2b-cart-summary{background:#fff;border:1px solid #e4e7ec;border-radius:16px;overflow:hidden}
.b2b-cart-item{display:grid;grid-template-columns:76px minmax(0,1fr) 125px 120px 34px;gap:16px;align-items:center;padding:18px;border-bottom:1px solid #eef0f3}
.b2b-cart-item:last-child{border-bottom:0}
.b2b-cart-thumb{width:76px;height:76px;border-radius:12px;background:#f5f6f8;display:grid;place-items:center;overflow:hidden}
.b2b-cart-thumb img{width:100%;height:100%;object-fit:contain}
.b2b-cart-info{min-width:0}.b2b-cart-brand{font-size:9px;color:#98a2b3;font-weight:900;letter-spacing:1px;text-transform:uppercase}.b2b-cart-info h3{font-size:14px;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.b2b-cart-info a{text-decoration:none;color:#111827}.b2b-cart-info small{font-size:11px;color:#667085}
.b2b-cart-qty label{display:block;font-size:9px;font-weight:900;color:#667085;text-transform:uppercase;margin-bottom:5px}
.b2b-qty-control{display:flex;align-items:center;border:1px solid #d0d5dd;border-radius:9px;overflow:hidden;width:120px;background:#fff}.b2b-qty-control button{width:34px;height:36px;border:0;background:#f8fafc;color:#344054;font-size:18px;cursor:pointer}.b2b-qty-control button:hover{background:#eef2f6}.b2b-qty-control input{width:52px;height:36px;border:0;border-left:1px solid #e4e7ec;border-right:1px solid #e4e7ec;text-align:center;outline:none;font-weight:800;box-sizing:border-box;-moz-appearance:textfield}.b2b-qty-control input::-webkit-outer-spin-button,.b2b-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.b2b-cart-line-total{font-size:14px;text-align:right}.b2b-cart-remove{width:32px;height:32px;border-radius:9px;background:#fff1f1;color:#b42318;text-decoration:none;display:grid;place-items:center;font-size:20px;font-weight:400}.b2b-cart-summary{padding:20px;position:sticky;top:20px}.b2b-cart-summary h2{font-size:17px;margin:0 0 16px}.b2b-cart-summary>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eef0f3;font-size:12px}.b2b-cart-summary-total{border-bottom:0!important;padding:18px 0!important}.b2b-cart-summary-total strong{font-size:22px}.b2b-cart-update,.b2b-cart-checkout{width:100%;box-sizing:border-box;margin-top:9px}.b2b-cart-checkout{background:#111827;color:#fff}.b2b-cart-disabled{display:block;text-align:center;background:#f2f4f7;color:#667085;border-radius:9px;padding:12px;font-size:11px;font-weight:800;margin-top:9px}.b2b-cart-progress,.b2b-cart-ready{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px;margin-bottom:15px;font-size:11px}.b2b-cart-progress>div:first-child{display:flex;justify-content:space-between;gap:15px}.b2b-cart-progress span{color:#b54708;font-weight:800}.b2b-cart-progress-bar{height:7px;background:#eef0f3;border-radius:20px;overflow:hidden;margin-top:10px}.b2b-cart-progress-bar span{display:block;height:100%;background:#111827;border-radius:20px}.b2b-cart-ready{background:#ecfdf3;border-color:#abefc6;color:#067647;font-weight:800}.b2b-cart-empty{background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:55px 25px;text-align:center}.b2b-cart-empty-icon{font-size:42px}.b2b-cart-empty h2{margin:10px 0 5px}.b2b-cart-empty p{color:#667085;font-size:12px;margin-bottom:18px}
@media(max-width:850px){.b2b-cart-layout{grid-template-columns:1fr}.b2b-cart-summary{position:static}.b2b-cart-item{grid-template-columns:62px minmax(0,1fr) 34px;gap:10px}.b2b-cart-thumb{width:62px;height:62px}.b2b-cart-qty{grid-column:2}.b2b-cart-line-total{grid-column:2;text-align:left}.b2b-cart-remove{grid-column:3;grid-row:1}.b2b-cart-head{align-items:flex-start;flex-direction:column}.b2b-cart-head h1{font-size:28px}}

/* =========================================================
   MODERN B2B SHOP — native WooCommerce shop styling
   ========================================================= */
body.post-type-archive-product,
body.tax-product_cat{
  background:#f7f8fa;
}
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main{
  max-width:100%!important;
}
.b2b-shop-toolbar{
  position:relative;
  width:100%;
  margin:0 0 28px;
  padding:38px 0 8px;
  background:transparent;
}
.b2b-shop-toolbar-inner{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  text-align:center;
}
.b2b-shop-kicker{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  background:#eef2f6;
  color:#667085;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.5px;
}
.b2b-shop-title{
  margin:12px 0 7px!important;
  color:#111827;
  font-size:36px!important;
  line-height:1.05!important;
  letter-spacing:-1.2px;
  font-weight:850!important;
}
.b2b-shop-subtitle{
  max-width:680px;
  margin:0 auto!important;
  color:#667085;
  font-size:13px;
  line-height:1.6;
}
.b2b-shop-search-form{margin:24px auto 15px;max-width:760px}
.b2b-shop-search-box{
  position:relative;
  display:flex;
  align-items:center;
  min-height:54px;
  padding:5px;
  background:#fff;
  border:1px solid #dfe3e8;
  border-radius:15px;
  box-shadow:0 8px 28px rgba(16,24,40,.06);
}
.b2b-shop-search-box:focus-within{
  border-color:#98a2b3;
  box-shadow:0 0 0 4px rgba(17,24,39,.05),0 12px 34px rgba(16,24,40,.08);
}
.b2b-shop-search-icon{
  width:40px;
  color:#667085;
  font-size:22px;
  line-height:1;
}
.b2b-shop-search-box input{
  flex:1!important;
  min-width:0;
  height:44px!important;
  padding:0 8px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:13px!important;
  color:#111827!important;
}
.b2b-shop-search-box input::placeholder{color:#98a2b3}
.b2b-shop-search-box button{
  height:44px;
  padding:0 18px;
  border:0;
  border-radius:11px;
  background:#111827;
  color:#fff;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.b2b-shop-search-clear{
  width:30px;height:30px;
  display:grid;place-items:center;
  color:#667085;text-decoration:none;
  font-size:19px;
}
.b2b-shop-filter-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:11px;
}
.b2b-shop-filter-label{
  color:#98a2b3;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.3px;
  margin-right:3px;
}
.b2b-shop-filter-row select{
  width:auto!important;
  min-width:170px;
  height:38px!important;
  padding:0 32px 0 12px!important;
  border:1px solid #e1e5ea!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#344054!important;
  font-size:10px!important;
  font-weight:700;
}
.b2b-shop-reset{
  display:inline-flex;
  align-items:center;
  height:38px;
  padding:0 12px;
  border-radius:10px;
  color:#667085;
  background:#fff;
  border:1px solid #e1e5ea;
  font-size:10px;
  font-weight:800;
  text-decoration:none;
}
.b2b-shop-hidden-filter-form{display:none!important}
.b2b-shop-suggestions{
  position:absolute;
  z-index:10000;
  top:calc(100% + 7px);
  left:0;right:0;
  display:none;
  text-align:left;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(16,24,40,.14);
}
.b2b-shop-suggestions.is-open{display:block}
.b2b-suggest-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  color:#111827;
  text-decoration:none;
  border-bottom:1px solid #f0f2f4;
}
.b2b-suggest-item:last-child{border-bottom:0}
.b2b-suggest-item:hover{background:#f8fafc}
.b2b-suggest-image{
  width:42px;height:42px;
  flex:none;
  display:grid;place-items:center;
  background:#f5f6f8;border-radius:8px;overflow:hidden;
}
.b2b-suggest-image img{width:100%;height:100%;object-fit:contain}
.b2b-suggest-info{min-width:0;flex:1}
.b2b-suggest-info b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.b2b-suggest-info small{display:block;margin-top:3px;color:#98a2b3;font-size:9px}
.b2b-suggest-item>strong{font-size:10px;white-space:nowrap}
.b2b-suggest-empty{padding:15px;color:#667085;font-size:11px}

/* Keep the theme header clean and align shop content with the home page. */
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb{display:none!important}
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto 10px;
  padding:0!important;
}
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title{
  font-size:0!important;
  margin:0!important;
}
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto 12px!important;
  color:#667085!important;
  font-size:10px!important;
  font-weight:700!important;
}
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto 12px!important;
  float:none!important;
  text-align:right;
}
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select{
  border:1px solid #e1e5ea!important;
  border-radius:10px!important;
  background:#fff!important;
  min-height:38px;
  padding:0 30px 0 11px!important;
  font-size:10px!important;
  font-weight:700!important;
}

/* Product grid */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products{
  width:min(1180px,calc(100% - 36px))!important;
  margin:0 auto 60px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
body.post-type-archive-product ul.products:before,
body.post-type-archive-product ul.products:after,
body.tax-product_cat ul.products:before,
body.tax-product_cat ul.products:after{display:none!important}
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product{
  width:auto!important;
  float:none!important;
  margin:0!important;
  padding:12px!important;
  background:#fff!important;
  border:1px solid #e7e9ee!important;
  border-radius:16px!important;
  box-shadow:0 3px 12px rgba(16,24,40,.025)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
  overflow:hidden;
}
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover{
  transform:translateY(-3px);
  border-color:#d5d9e0!important;
  box-shadow:0 14px 30px rgba(16,24,40,.08)!important;
}
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link{
  display:block;
  text-decoration:none!important;
}
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  margin:0 0 13px!important;
  border-radius:11px;
  background:#f6f7f8;
}
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{
  min-height:37px;
  margin:0 2px 7px!important;
  color:#111827!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price{
  margin:0 2px 11px!important;
  color:#111827!important;
  font-size:15px!important;
  font-weight:900!important;
}
body.post-type-archive-product ul.products li.product .price .b2b-price,
body.tax-product_cat ul.products li.product .price .b2b-price{font-weight:900}
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
body.post-type-archive-product ul.products li.product .b2b-shop-add-to-cart,
body.tax-product_cat ul.products li.product .b2b-shop-add-to-cart{
  display:flex!important;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height:42px;
  box-sizing:border-box;
  margin:0!important;
  padding:0 12px!important;
  border-radius:10px!important;
  background:#111827!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.post-type-archive-product ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover{background:#1f2937!important}
body.post-type-archive-product ul.products li.product .b2b-stock-out,
body.tax-product_cat ul.products li.product .b2b-stock-out{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:42px;
  border-radius:10px;
  background:#fef3f2;
  color:#b42318;
  font-size:10px;
  font-weight:850;
}
body.post-type-archive-product ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale{
  top:18px!important;left:18px!important;right:auto!important;
  min-height:28px!important;min-width:28px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#111827!important;color:#fff!important;
  font-size:8px!important;font-weight:900!important;line-height:28px!important;
}
.b2b-shop-add-to-cart.b2b-adding{opacity:.65!important;pointer-events:none!important}
@media(max-width:1050px){
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .b2b-shop-toolbar{padding-top:24px}
  .b2b-shop-title{font-size:29px!important}
  .b2b-shop-subtitle{font-size:12px}
  .b2b-shop-search-box{min-height:50px}
  .b2b-shop-search-box button{padding:0 13px}
  .b2b-shop-filter-row{justify-content:stretch}
  .b2b-shop-filter-label{width:100%;text-align:left}
  .b2b-shop-filter-row select,.b2b-shop-reset{flex:1;min-width:0!important}
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products{width:calc(100% - 24px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product{padding:8px!important;border-radius:13px!important}
  body.post-type-archive-product ul.products li.product img,
  body.tax-product_cat ul.products li.product img{margin-bottom:9px!important}
  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;min-height:31px}
  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price{font-size:13px!important}
  .b2b-shop-toast{left:12px;right:12px;bottom:12px;min-width:0}
}


/* =========================================================
   B2B 5.3.6 — MOBILE / SHOP POLISH
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
.b2b-dashboard,.b2b-task-dashboard{max-width:100%;width:100%}
.b2b-nav-label{min-width:0}
.b2b-dash-side>a.active{background:#111827!important;color:#fff!important;box-shadow:0 5px 14px rgba(17,24,39,.12)}
.b2b-dash-side>a.active .b2b-nav-icon{color:#fff}
.b2b-shop-toolbar{padding-top:30px}
.b2b-shop-toolbar-inner{max-width:1180px}
.b2b-shop-search-form{max-width:900px}
.b2b-shop-filter-row{justify-content:flex-start;max-width:900px;margin-left:auto;margin-right:auto}
@media(max-width:900px){
  .b2b-dashboard.b2b-task-dashboard,.b2b-dashboard{display:flex!important;flex-direction:column!important;min-height:0!important;border-radius:14px!important;overflow:visible!important;background:#f7f8fa!important}
  .b2b-task-dashboard .b2b-dash-side,.b2b-dashboard .b2b-dash-side{position:sticky!important;top:0;z-index:50;width:100%!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;display:flex!important;align-items:center!important;gap:5px!important;padding:8px!important;margin:0!important;border:0!important;border-bottom:1px solid #e4e7ec!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px)!important;box-shadow:0 5px 18px rgba(16,24,40,.06)!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .b2b-task-dashboard .b2b-dash-side::-webkit-scrollbar,.b2b-dashboard .b2b-dash-side::-webkit-scrollbar{display:none}
  .b2b-task-dashboard .b2b-side-logo,.b2b-dashboard .b2b-side-logo{display:none!important}
  .b2b-task-dashboard .b2b-dash-side>a,.b2b-dashboard .b2b-dash-side>a{flex:0 0 auto!important;width:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:40px!important;margin:0!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:10px!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}
  .b2b-task-dashboard .b2b-nav-icon,.b2b-dashboard .b2b-nav-icon{flex:0 0 auto!important;width:18px!important;margin:0!important;text-align:center}
  .b2b-task-dashboard .b2b-side-bottom,.b2b-dashboard .b2b-side-bottom{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important}
  .b2b-task-dashboard .b2b-side-bottom a,.b2b-dashboard .b2b-side-bottom a{margin:0!important}
  .b2b-task-dashboard .b2b-dash-main,.b2b-dashboard .b2b-dash-main{width:100%!important;min-width:0!important;padding:18px 12px!important;box-sizing:border-box!important;overflow:visible!important}
  .b2b-dash-top{gap:10px!important}.b2b-dash-top h2{font-size:22px!important;line-height:1.15!important}.b2b-dash-top p{font-size:10px!important}.b2b-user-pill,.b2b-level{font-size:9px!important;padding:8px 10px!important}.b2b-task-content{margin-top:14px!important;min-width:0!important;overflow:visible!important}.b2b-task-card{padding:14px!important;border-radius:14px!important}
  .b2b-inline-filters,.b2b-filters{grid-template-columns:1fr!important;gap:9px!important}.b2b-step-box{padding:14px!important}.b2b-emp-product{grid-template-columns:minmax(0,1fr) 74px 34px!important;gap:7px!important}.b2b-emp-product button{grid-column:3!important;grid-row:1!important}.b2b-quick-actions{display:grid!important;grid-template-columns:1fr!important}.b2b-quick-actions .b2b-btn{width:100%!important}
  .b2b-pro-hero{padding:18px!important;border-radius:14px!important}.b2b-pro-hero h3{font-size:23px!important}.b2b-pro-live{flex-wrap:wrap!important;gap:7px!important}.b2b-pro-refresh{min-height:38px!important}.b2b-pro-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.b2b-pro-kpi{padding:14px!important;border-radius:13px!important}.b2b-pro-kpi strong{font-size:24px!important}.b2b-pro-main-grid,.b2b-pro-bottom-grid{grid-template-columns:1fr!important}
  .b2b-shop-toolbar{padding:20px 0 8px!important;margin-bottom:12px!important}.b2b-shop-toolbar-inner{width:calc(100% - 24px)!important;text-align:left!important}.b2b-shop-kicker{font-size:8px!important;padding:6px 9px!important}.b2b-shop-title{font-size:28px!important;letter-spacing:-.8px!important;margin:10px 0 6px!important}.b2b-shop-subtitle{font-size:11px!important;line-height:1.5!important;margin:0!important}.b2b-shop-search-form{margin:16px 0 10px!important;max-width:none!important}.b2b-shop-search-box{min-height:52px!important;padding:4px!important;border-radius:13px!important}.b2b-shop-search-icon{width:34px!important;font-size:20px!important;text-align:center}.b2b-shop-search-box input{height:42px!important;font-size:12px!important;padding:0 5px!important}.b2b-shop-search-box button{height:42px!important;padding:0 12px!important;border-radius:9px!important;font-size:9px!important}.b2b-shop-filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:8px 0 0!important;max-width:none!important}.b2b-shop-filter-label{grid-column:1/-1!important;width:auto!important;text-align:left!important;margin:0!important;font-size:8px!important}.b2b-shop-filter-row select,.b2b-shop-reset{width:100%!important;min-width:0!important;height:40px!important;font-size:9px!important}
  body.post-type-archive-product ul.products,body.tax-product_cat ul.products{width:calc(100% - 20px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-bottom:35px!important}
  body.post-type-archive-product ul.products li.product,body.tax-product_cat ul.products li.product{padding:8px!important;border-radius:13px!important}body.post-type-archive-product ul.products li.product img,body.tax-product_cat ul.products li.product img{aspect-ratio:1/1!important;margin-bottom:8px!important;border-radius:9px!important}body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{font-size:10px!important;line-height:1.3!important;min-height:28px!important;margin-bottom:5px!important}body.post-type-archive-product ul.products li.product .price,body.tax-product_cat ul.products li.product .price{font-size:12px!important;margin-bottom:7px!important}body.post-type-archive-product ul.products li.product .button,body.tax-product_cat ul.products li.product .button,body.post-type-archive-product ul.products li.product .b2b-shop-add-to-cart,body.tax-product_cat ul.products li.product .b2b-shop-add-to-cart{min-height:38px!important;border-radius:9px!important;font-size:9px!important}body.post-type-archive-product .woocommerce-result-count,body.tax-product_cat .woocommerce-result-count{width:calc(100% - 20px)!important;font-size:9px!important;margin-bottom:7px!important}body.post-type-archive-product .woocommerce-ordering,body.tax-product_cat .woocommerce-ordering{width:calc(100% - 20px)!important;text-align:left!important;margin-bottom:9px!important}body.post-type-archive-product .woocommerce-ordering select,body.tax-product_cat .woocommerce-ordering select{min-height:38px!important;font-size:9px!important;width:100%!important}
}
@media(max-width:600px){.b2b-pro-kpis{grid-template-columns:1fr 1fr!important}.b2b-pro-section-title{margin-top:16px!important}.b2b-pro-section-title>a{font-size:9px!important}.b2b-pro-support-card{padding:13px!important}.b2b-orders-table{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.b2b-shop-suggestions{position:fixed!important;left:10px!important;right:10px!important;top:145px!important;max-height:55vh!important;border-radius:13px!important}}
@media(max-width:420px){.b2b-task-dashboard .b2b-dash-side>a,.b2b-dashboard .b2b-dash-side>a{padding:8px 9px!important;font-size:9px!important}.b2b-pro-kpis{gap:7px!important}.b2b-pro-kpi{padding:12px!important}.b2b-pro-kpi strong{font-size:22px!important}.b2b-shop-title{font-size:25px!important}.b2b-shop-filter-row{grid-template-columns:1fr!important}}

/* =========================================================
   B2B 5.3.7 — MOBILE WORKSPACE / STOCK TABLE FIX
   ========================================================= */
@media (max-width:900px){
  body.admin-bar .b2b-task-dashboard .b2b-dash-side,
  body.admin-bar .b2b-dashboard .b2b-dash-side{top:32px!important}
  .b2b-task-dashboard .b2b-dash-side,
  .b2b-dashboard .b2b-dash-side{
    position:sticky!important;
    top:0!important;
    z-index:60!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    padding:8px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #e4e7ec!important;
    box-shadow:0 5px 18px rgba(16,24,40,.06)!important;
  }
  .b2b-task-dashboard .b2b-dash-side>a,
  .b2b-dashboard .b2b-dash-side>a{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:8px 7px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    border:1px solid #edf0f3!important;
    border-radius:10px!important;
    white-space:normal!important;
    text-align:left!important;
    overflow:hidden!important;
  }
  .b2b-task-dashboard .b2b-dash-side>a.active,
  .b2b-dashboard .b2b-dash-side>a.active{border-color:#111827!important}
  .b2b-task-dashboard .b2b-nav-label,
  .b2b-dashboard .b2b-nav-label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.15!important}
  .b2b-task-dashboard .b2b-side-bottom,
  .b2b-dashboard .b2b-side-bottom{
    position:static!important;
    grid-column:1/-1!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  .b2b-task-dashboard .b2b-side-bottom a,
  .b2b-dashboard .b2b-side-bottom a{width:100%!important;justify-content:center!important}

  /* Stock table becomes a clean mobile card instead of a horizontally clipped table. */
  .b2b-stock-table{overflow:visible!important;border:0!important;background:transparent!important}
  .b2b-stock-head{display:none!important}
  .b2b-stock-row{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:9px!important;
    padding:13px!important;
    margin-bottom:9px!important;
    border:1px solid #e7e9ee!important;
    border-radius:13px!important;
    background:#fff!important;
    align-items:center!important;
  }
  .b2b-stock-row>.b2b-stock-product{grid-column:1/-1!important;min-width:0!important}
  .b2b-stock-row>span:nth-child(2){display:none!important}
  .b2b-stock-row>.b2b-stock-number{grid-column:1!important;min-width:0!important}
  .b2b-stock-row>span:nth-child(4){grid-column:2!important;justify-self:end!important}
  .b2b-stock-row>.b2b-stock-edit-btn{grid-column:1/-1!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
  .b2b-stock-product b{font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .b2b-stock-number{font-size:15px!important}
  .b2b-stock-toolbar{gap:8px!important}
  .b2b-stock-toolbar input,.b2b-stock-toolbar select,.b2b-stock-toolbar button{width:100%!important;min-width:0!important;box-sizing:border-box!important}
}
@media (max-width:420px){
  .b2b-task-dashboard .b2b-dash-side>a,
  .b2b-dashboard .b2b-dash-side>a{font-size:9px!important;padding:8px 6px!important;min-height:40px!important}
  .b2b-task-dashboard .b2b-nav-icon,
  .b2b-dashboard .b2b-nav-icon{width:17px!important;flex:0 0 17px!important;margin:0!important}
}

/* v5.3.8 - Mobile B2B orders and stock */
@media (max-width:600px){
  .b2b-task-card{overflow:hidden}
  .b2b-order-filters-pro{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .b2b-order-filters-pro input,.b2b-order-filters-pro select{width:100%!important;box-sizing:border-box}
  .b2b-order-kpis{grid-template-columns:1fr!important;gap:10px!important}
  .b2b-orders-table{overflow:visible!important;border:0!important;background:transparent!important}
  .b2b-orders-head{display:none!important}
  .b2b-order-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;min-width:0!important;padding:0!important;margin:0 0 12px!important;border:1px solid var(--l)!important;border-radius:12px!important;background:#fff!important;overflow:hidden}
  .b2b-order-row>span{display:block!important;min-width:0!important;padding:11px 10px!important;border-top:1px solid #f0f1f3!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
  .b2b-order-row>span:nth-child(-n+2){border-top:0!important}
  .b2b-order-row>span::before{content:attr(data-label);display:block;font-size:9px;font-weight:800;color:#98a2b3;margin-bottom:4px;text-transform:uppercase;letter-spacing:.4px}
  .b2b-order-row .b2b-order-actions{grid-column:1/-1!important;display:flex!important;gap:7px!important;border-top:1px solid #f0f1f3!important;padding:10px!important}
  .b2b-order-actions::before{display:none!important}
  .b2b-order-actions .b2b-btn{flex:1!important;min-width:0!important;font-size:10px!important;padding:10px 7px!important}
  .b2b-stock-table{overflow:visible!important;border:0!important}
  .b2b-stock-head{display:none!important}
  .b2b-stock-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;min-width:0!important;padding:0!important;margin:0 0 12px!important;border:1px solid var(--l)!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
  .b2b-stock-row>div,.b2b-stock-row>span,.b2b-stock-row>strong,.b2b-stock-row>button{min-width:0!important;box-sizing:border-box!important;padding:10px!important;border-top:1px solid #f0f1f3!important;overflow-wrap:anywhere!important}
  .b2b-stock-row>.b2b-stock-product{border-top:0!important;grid-column:1/-1!important}
  .b2b-stock-row>span:nth-child(2),.b2b-stock-row>strong:nth-child(3){border-top:0!important}
  .b2b-stock-row [data-label]::before{content:attr(data-label);display:block;font-size:9px;font-weight:800;color:#98a2b3;margin-bottom:4px;text-transform:uppercase;letter-spacing:.4px}
  .b2b-stock-row>.b2b-stock-product::before{content:none!important}
  .b2b-stock-row>.b2b-stock-edit-btn{grid-column:1/-1!important;width:calc(100% - 20px)!important;margin:0 10px 10px!important}
  .b2b-stock-toolbar .b2b-btn{width:100%!important}
  .b2b-stock-edit{margin-top:12px!important}
}
