@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');
:root{--primary:#1B4F9C;--primary-dark:#16427f;--accent:#21803A;--accent-soft:#e6f4ea;--navy:#0f2744;--navy2:#10263a;--soft:#e8f1fb;--bg:#f6f8fb;--ink:#142b3c;--muted:#738393;--line:#e5ebf0;--green:#21803A;--shadow:0 14px 45px rgba(22,47,72,.08);--banner-h:48px;--header-h:76px;--nav-h:48px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;padding-top:var(--banner-h);background:var(--bg);font-family:"IBM Plex Sans Arabic",Sora,Tahoma,Arial,sans-serif;color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7eb3e8}.shell{max-width:1320px;margin:auto;padding:0 28px}.demo-banner{position:fixed;inset:0 0 auto 0;z-index:120;height:var(--banner-h);overflow:hidden;background:linear-gradient(90deg,var(--navy) 0%,#163556 55%,var(--navy2) 100%);color:#e8f1fb;border-bottom:2px solid var(--accent);box-shadow:0 4px 18px #0003}.demo-banner-inner{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;padding:8px 28px;height:100%;min-height:var(--banner-h)}.demo-label{font-weight:800;font-size:12px;white-space:nowrap;color:#fff;background:var(--primary);padding:6px 12px;border-radius:8px;border:1px solid #ffffff25}.demo-disclaimer{flex:1;min-width:120px;font-size:10px;line-height:1.4;color:#c5d8ea;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-disclaimer b{color:#fff}.demo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.demo-actions .chip-btn{border:1px solid #ffffff35;background:#ffffff12;color:#fff;border-radius:8px;padding:7px 12px;font-weight:700;font-size:11px;transition:.2s}.demo-actions .chip-btn:hover{background:#ffffff22}.demo-actions .chip-btn.accent{background:var(--accent);border-color:#2a9a4a}.demo-actions a.chip-btn{display:inline-flex;align-items:center;gap:6px}.top-strip{background:var(--navy2);color:#dce9f1;font-size:11px}.top-strip .shell{display:flex;justify-content:space-between;padding-top:7px;padding-bottom:7px;flex-wrap:wrap;gap:6px}.top-strip b{color:#9fd4ff}.ss-credit{color:var(--accent);font-weight:700}.main-header{background:white;border-bottom:1px solid var(--line);position:sticky;top:var(--banner-h);z-index:50;box-shadow:0 4px 20px #10263808;isolation:isolate}.main-nav{background:#fff}.header-inner{display:flex;align-items:center;gap:23px;min-height:var(--header-h)}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;cursor:pointer}.brand-logo{width:44px;height:44px;border-radius:13px;display:block;flex-shrink:0;object-fit:contain;box-shadow:0 4px 14px #1026381a}.brand strong{font-size:25px;line-height:1;display:block;letter-spacing:-1px}.brand small{display:block;color:#8a99a5;font-size:10px;margin-top:5px;letter-spacing:.7px}.brand .by-ss{font-size:9px;color:var(--primary);font-weight:600;margin-top:2px}.searchbox{display:flex;align-items:center;border:2px solid #e4eaf0;border-radius:11px;overflow:hidden;flex:1;max-width:540px;height:46px;background:#fff}.searchbox:focus-within{border-color:var(--primary)}.searchbox input{border:0;outline:0;flex:1;padding:0 14px;min-width:0}.searchbox select{border:0;border-inline-end:1px solid var(--line);padding:0 12px;background:#fafbfc;color:var(--muted);height:100%;max-width:140px;outline:none}.searchbox button{height:100%;background:var(--primary);color:white;border:0;padding:0 21px;font-weight:800}.head-actions{display:flex;align-items:center;gap:10px;margin-inline-start:auto}.icon-btn{height:40px;min-width:40px;border:1px solid var(--line);background:#fff;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;color:var(--navy);position:relative}.icon-btn .num{position:absolute;top:-7px;inset-inline-end:-5px;background:var(--accent);color:white;font:700 10px Arial;min-width:18px;height:18px;border-radius:20px;display:grid;place-items:center}.primary-btn,.dark-btn,.soft-btn,.outline-btn{border:0;border-radius:10px;padding:11px 17px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.primary-btn{background:var(--primary);color:white}.primary-btn:hover{background:var(--primary-dark)}.dark-btn{background:var(--navy);color:white}.dark-btn:hover{background:#1b3d5c}.soft-btn{background:var(--soft);color:var(--primary)}.outline-btn{border:1px solid #d8e0e7;background:white;color:var(--navy)}.small{font-size:12px;padding:8px 12px}.main-nav{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:calc(var(--banner-h) + var(--header-h));z-index:48;box-shadow:0 4px 12px #10263806}.nav-content{display:flex;align-items:center;gap:6px;min-height:var(--nav-h);overflow:auto;position:relative;z-index:2}.nav-content button{border:0;background:transparent;color:#536879;padding:10px 15px;border-radius:9px;font-weight:700;white-space:nowrap;position:relative;z-index:2;cursor:pointer}.nav-content button.active,.nav-content button:hover{color:var(--primary);background:var(--soft)}.nav-spacer{flex:1}.live{display:flex;align-items:center;gap:7px;color:var(--green);font-weight:800;font-size:11px;white-space:nowrap}.live:before{content:"";height:8px;width:8px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px #e5f9f1}.notice{margin-top:20px;background:#eaf3fb;color:#365571;border:1px solid #d8eaf8;border-radius:12px;padding:10px 16px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.notice button{border:0;background:none;color:#57718a;cursor:pointer;font-weight:800}.hero{margin-top:22px;min-height:342px;border-radius:23px;background:linear-gradient(118deg,#102b43 0%,#173d56 52%,#215b71 100%);color:white;position:relative;overflow:hidden;padding:50px 56px;padding-inline-end:clamp(48px,36vw,400px);display:flex;align-items:center}.hero:after{content:"";position:absolute;left:-130px;bottom:-210px;width:490px;height:490px;border-radius:50%;border:80px solid #ffffff08}.hero:before{content:"";position:absolute;left:18%;top:-150px;width:300px;height:300px;border-radius:50%;background:#ffffff08}.hero-text{position:relative;z-index:2;max-width:620px}.eyebrow{font-size:11px;color:#8ec5ff;font-weight:900;letter-spacing:1.3px}.hero h1{font-size:37px;line-height:1.5;margin:10px 0;font-weight:900}.hero h1 span{color:#7ddea0}.hero p{font-size:14px;line-height:2;color:#d0e0ea;max-width:550px}.hero-buttons{display:flex;gap:10px;margin-top:21px;flex-wrap:wrap}.hero-buttons .outline-btn{background:#ffffff12;color:white;border:1px solid #ffffff40}.hero-visual{position:absolute;inset-inline-end:clamp(20px,4vw,48px);inset-inline-start:auto;top:50%;transform:translateY(-50%);width:min(380px,40vw);height:280px;z-index:1;pointer-events:none}.hero-collage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;width:100%;height:100%}.collage-card{position:relative;border-radius:14px;overflow:hidden;box-shadow:0 14px 34px rgba(8,20,32,.28);border:2px solid rgba(255,255,255,.9);background:#0b2235}.collage-card img{width:100%;height:100%;object-fit:cover;display:block}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:20px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:flex;gap:13px;align-items:center}.metric-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#eef4f8,#e3ecf5);color:var(--primary);font-size:22px;flex-shrink:0}.metric b{font-size:20px;display:block;line-height:1.4}.metric span{color:var(--muted);font-size:11px}.section{margin-top:35px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-head h2{font-size:22px;margin:0;font-weight:900}.section-head p{color:var(--muted);font-size:12px;margin:4px 0 0}.link-btn{background:none;border:0;color:var(--primary);font-weight:800}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.category-card{border:1px solid var(--line);background:white;border-radius:16px;min-height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;transition:.2s;cursor:pointer}.category-card:hover,.category-card.selected{border-color:var(--primary);transform:translateY(-3px);box-shadow:var(--shadow)}.category-card .symbol{width:58px;height:58px;border-radius:16px;background:linear-gradient(160deg,var(--soft),#dceaf8);color:var(--primary);display:grid;place-items:center;font-size:28px;box-shadow:inset 0 1px 0 #ffffffaa}.category-card span{font-size:12px;font-weight:800}.category-card small{color:#9cabb7;font-size:10px}.market-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.filter-btn{background:#fff;color:#5a7284;border:1px solid var(--line);padding:9px 15px;border-radius:10px;font-weight:700}.filter-btn.active{border-color:var(--navy);color:white;background:var(--navy)}.market-toolbar .total{margin-inline-start:auto;color:var(--muted);font-size:12px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.product-card{background:#fff;border-radius:18px;border:1px solid #dde4eb;overflow:hidden;transition:.22s;box-shadow:0 2px 10px rgba(16,38,56,.045)}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#c5d4e4}.product-image{height:220px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:var(--soft)}.product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.product-card:hover .product-image img{transform:scale(1.04)}.pill{position:absolute;inset-inline-end:12px;top:12px;background:#fff;color:var(--navy);border-radius:30px;font-size:10px;font-weight:900;padding:5px 10px;box-shadow:0 2px 10px #0000000d}.fav{position:absolute;inset-inline-start:12px;top:12px;width:32px;height:32px;border-radius:50%;border:0;background:#fff;display:grid;place-items:center;color:#7a8793;font-size:16px;box-shadow:0 2px 8px #00000012}.fav.on{color:#e94b62}.product-body{padding:14px}.supplier{display:flex;gap:5px;align-items:center;font-size:10px;color:#7f91a0}.verified{color:var(--green)}.product-body h3{font-size:13px;font-weight:800;line-height:1.9;min-height:50px;margin:6px 0 8px;cursor:pointer}.price-line{display:flex;align-items:baseline;gap:4px}.price-line strong{color:var(--primary);font-size:20px}.price-line small{color:var(--muted);font-size:11px}.product-meta{display:flex;justify-content:space-between;color:#8393a0;font-size:10px;margin:8px 0 14px}.product-actions{display:flex;gap:8px}.product-actions button{flex:1;font-size:11px;font-weight:700;padding:10px 8px;border-radius:10px;gap:5px;min-height:40px}.product-actions .dark-btn{box-shadow:0 2px 8px rgba(15,39,68,.15)}.product-actions .outline-btn{border-color:#d0dae3;color:#3d5568}.trust-banner{background:var(--accent-soft);border:1px solid #b9dfc4;border-radius:19px;padding:23px 28px;margin-top:32px;display:flex;align-items:center;gap:25px}.trust-icon{font-size:38px;color:var(--accent)}.trust-banner h3{margin:0 0 5px;font-size:17px}.trust-banner p{margin:0;color:#477969;font-size:12px}.trust-banner button{margin-inline-start:auto}.footer{background:#0e2639;color:#ccdae3;margin-top:60px;padding:35px 0 18px}.footer-wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer .brand strong{color:#fff}.footer p{font-size:11px;max-width:470px;line-height:2}.footer-links{display:flex;gap:20px;color:#a9bdc9;font-size:12px}.footer-bottom{border-top:1px solid #ffffff20;margin-top:30px;padding-top:14px;font-size:10px;color:#90a8b8;display:flex;justify-content:space-between}.page-title{margin:33px 0 22px}.page-title h1{font-size:27px;margin:0}.page-title p{color:var(--muted);margin:7px 0}.dashboard-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;margin-top:25px;min-height:550px}.sidebar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;height:max-content;position:sticky;top:calc(var(--banner-h) + var(--header-h) + var(--nav-h) + 16px);text-align:start}.sidebar h4{margin:0 0 15px;color:var(--muted);font-size:11px;text-align:inherit}.side-item{border:0;background:transparent;width:100%;text-align:inherit;padding:11px 12px;border-radius:9px;color:#536a7a;display:flex;align-items:center;gap:10px;font-weight:700;margin-bottom:4px}html[dir="ltr"] .sidebar,html[dir="ltr"] .side-item{text-align:left}html[dir="rtl"] .sidebar,html[dir="rtl"] .side-item{text-align:right}.side-item.active,.side-item:hover{background:#eef5fa;color:var(--navy)}.dashboard-content{min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.stat-card .st-title{color:var(--muted);font-size:11px}.stat-card strong{font-size:23px;display:block;margin:5px 0}.stat-card small{font-size:10px;color:var(--green)}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-top:17px;overflow:auto}.panel h3{margin:0 0 16px;font-size:17px}.datatable{border-collapse:collapse;width:100%;font-size:12px;min-width:580px}.datatable th{text-align:start;background:#f8fafc;color:#7b8d9c;font-size:11px;padding:12px;border-bottom:1px solid var(--line)}.datatable td{padding:13px 12px;border-bottom:1px solid #edf1f4}.datatable tr:last-child td{border-bottom:0}.status{font-size:10px;font-weight:800;border-radius:20px;padding:5px 9px;background:#ebf7f1;color:#258d68;white-space:nowrap}.status.warning{background:#fff3e2;color:#c68928}.status.info{background:#eaf2ff;color:#477cc1}.bar-chart{display:flex;align-items:end;gap:10px;height:188px;padding-top:15px}.bar-wrap{display:flex;flex-direction:column;align-items:center;flex:1;gap:7px;height:100%;justify-content:end}.bar{background:linear-gradient(0deg,var(--primary),#5a9fd4);width:70%;border-radius:6px 6px 0 0;min-height:10px}.bar.green{background:linear-gradient(0deg,var(--accent),#4caf6a)}.bar-wrap span{font-size:10px;color:var(--muted)}.dash-cols{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:800;font-size:12px}.field input,.field select,.field textarea{background:white;border:1px solid #dfe7ed;border-radius:10px;padding:11px;color:var(--ink);width:100%;outline:none}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--primary)}.full{grid-column:1/-1}.empty{text-align:center;padding:48px 20px;color:var(--muted)}.empty .em{font-size:44px;color:var(--primary)}.empty-icon{width:72px;height:72px;margin:0 auto 12px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-size:32px;color:var(--primary)}.modal-backdrop{position:fixed;inset:0;background:#0a1e2cc9;z-index:100;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:white;border-radius:19px;width:min(720px,100%);max-height:91vh;overflow:auto;box-shadow:0 20px 70px #0004}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}.modal-header h2{margin:0;font-size:19px}.modal-header button{border:0;background:#f0f3f5;border-radius:8px;width:34px;height:34px;font-size:20px}.modal-body{padding:24px}.modal-footer{padding:16px 24px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-pic{min-height:270px;border-radius:16px;overflow:hidden;background:var(--soft)}.detail-pic img{width:100%;height:100%;object-fit:cover;min-height:270px}.detail-info h2{line-height:1.8}.cart-item{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-thumb{height:62px;width:70px;border-radius:11px;overflow:hidden;background:var(--soft);flex-shrink:0}.cart-thumb img{width:100%;height:100%;object-fit:cover}.thumb-sm{width:36px;height:36px;border-radius:8px;object-fit:cover;vertical-align:middle;margin-inline-end:6px}.cart-item .info{flex:1}.cart-item .info b{font-size:12px;display:block}.cart-item .info small{color:var(--muted)}.qty{display:flex;gap:10px;align-items:center}.qty button{width:25px;height:25px;border-radius:6px;background:#f2f5f8;border:0}.toast{position:fixed;inset-inline-start:22px;bottom:22px;background:#103448;color:#fff;box-shadow:0 10px 40px #0004;border-radius:12px;padding:14px 18px;z-index:200;opacity:0;transform:translateY(20px);transition:.25s;pointer-events:none;max-width:450px}.toast.show{opacity:1;transform:translateY(0)}.quote-card{background:white;border:1px solid var(--line);padding:19px;border-radius:15px;margin-bottom:12px}.quote-card h3{margin:0 0 5px}.quote-card p{font-size:12px;color:var(--muted)}.quote-card .qfoot{display:flex;align-items:center;justify-content:space-between;gap:10px}.badge-row{display:flex;gap:6px;flex-wrap:wrap}.tag{background:#f0f4f8;padding:5px 9px;border-radius:6px;font-size:10px;color:#61788a;font-weight:800}.sup-card{background:white;border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;align-items:center;gap:15px}.sup-avatar{width:56px;height:56px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-weight:800;font-size:22px;color:#fff;background:linear-gradient(145deg,var(--primary),#2a6bb8);box-shadow:0 4px 14px rgba(27,79,156,.28);text-transform:uppercase;line-height:1}.sup-avatar.alt-2{background:linear-gradient(145deg,var(--accent),#2d9a4d)}.sup-avatar.alt-3{background:linear-gradient(145deg,#2c4f6e,var(--primary))}.sup-avatar.alt-4{background:linear-gradient(145deg,#5c4a8a,var(--primary))}.sup-avatar.alt-5{background:linear-gradient(145deg,#c45a2a,#e8913a)}.sup-avatar.alt-6{background:linear-gradient(145deg,#1a6b7a,var(--accent))}.sup-icon{width:65px;height:65px;border-radius:14px;background:#eaf0f5;display:grid;place-items:center;font-size:31px}.sup-card h3{margin:0 0 4px;font-size:14px}.sup-card p{margin:0;color:var(--muted);font-size:11px}.sup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.switch{display:flex;gap:0;background:#ecf1f4;padding:4px;border-radius:10px;width:max-content}.switch button{border:0;border-radius:8px;background:transparent;padding:8px 18px;font-weight:800;color:#6b8191}.switch button.active{background:white;color:var(--navy);box-shadow:0 2px 6px #0001}.mini-row{display:flex;justify-content:space-between;gap:10px;margin:10px 0;color:#667e8e;font-size:12px}.mini-row strong{color:var(--ink)}.no-results{grid-column:1/-1;background:#fff;padding:40px;text-align:center;border-radius:16px;color:var(--muted)}.desktop-hide{display:none}.wide{width:100%}.desktop-spacer{flex:1}.vendor-sample{background:var(--soft);border:1px dashed #9bb8d9;padding:15px;border-radius:12px;font-size:12px;color:#3d5f82;margin-top:15px}.progress{height:7px;border-radius:20px;background:#e8eff3;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:20px}.footer-disclaimer{background:#0a1a2d;border:1px solid #ffffff15;border-radius:12px;padding:14px 16px;margin-top:22px;font-size:11px;line-height:1.7;color:#9eb4c7}.request-result{background:#eaf8f0;border:1px solid #bde9cf;color:#216d4c;padding:15px;border-radius:12px;line-height:1.8}.footer-note{color:#7a8994;font-size:10px;margin:15px 0 0}
@media(max-width:1100px){ .hero-visual{opacity:.9;inset-inline-end:12px;width:280px;height:220px}.product-grid{grid-template-columns:repeat(3,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}.head-actions .hide-tablet{display:none}.stat-grid{grid-template-columns:repeat(2,1fr)}.sup-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:740px){:root{--banner-h:76px;--header-h:64px}.demo-banner{height:auto;min-height:var(--banner-h)}.demo-banner-inner{flex-wrap:wrap;padding:10px 16px;height:auto;min-height:var(--banner-h)}.demo-disclaimer{white-space:normal}.shell{padding:0 16px}.demo-disclaimer{font-size:10px}.top-strip{display:none}.header-inner{flex-wrap:wrap;gap:10px;padding:12px 0;min-height:auto}.brand strong{font-size:22px}.brand-logo{height:39px;width:39px}.searchbox{order:3;width:100%;flex-basis:100%;max-width:none}.head-actions{gap:6px}.head-actions .primary-btn{display:none}.hero{padding:29px 24px;min-height:320px}.hero h1{font-size:27px}.hero-visual{display:none}.metrics{grid-template-columns:repeat(2,1fr);gap:9px}.metric{padding:13px}.metric-icon{width:38px;height:38px;font-size:20px}.metric b{font-size:17px}.category-grid{grid-template-columns:repeat(3,1fr);gap:8px}.category-card{min-height:118px}.category-card .symbol{width:52px;height:52px;font-size:26px;border-radius:14px}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-image{height:140px}.product-body{padding:10px}.product-actions{flex-direction:column}.product-body h3{font-size:12px}.price-line strong{font-size:17px}.trust-banner{flex-wrap:wrap}.trust-banner button{margin-inline-start:0}.dashboard-layout{display:block}.sidebar{position:static;display:flex;overflow:auto;gap:5px;margin-bottom:15px;padding:10px}.sidebar h4{display:none}.side-item{white-space:nowrap;width:auto}.dash-cols{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.detail-pic{min-height:190px}.sup-grid{grid-template-columns:1fr}.footer-links{display:none}.desktop-hide{display:block}.nav-content{min-height:44px}.nav-content button{padding:9px 10px}.section-head h2{font-size:19px}.market-toolbar{gap:6px}.filter-btn{padding:8px 11px;font-size:11px}}

/* --- Sales demo polish (Smart Steps) --- */
:root { --role-guide-h: 40px; }
.demo-actions .chip-btn.reset { border-color: #ffb4b4; background: #ffffff18; }
.demo-actions .chip-btn.reset:hover { background: #ffeeee22; }
.top-strip.top-strip--thin { font-size: 10px; border-bottom: 1px solid #ffffff12; }
.top-strip.top-strip--thin .shell {
  justify-content: center;
  padding: 4px 28px;
  gap: 10px;
}
.top-strip.is-collapsed { display: none; }
.gcc-toggle {
  border: 0;
  background: transparent;
  color: #9eb4c7;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}
.gcc-toggle:hover { color: #fff; }
.role-guide {
  background: linear-gradient(180deg, #f0f5fa 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: calc(var(--banner-h) + var(--header-h) + var(--nav-h));
  z-index: 47;
}
.role-guide-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--role-guide-h);
  flex-wrap: wrap;
}
.role-guide-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}
.role-guide-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.role-guide-links button {
  border: 1px solid #d5dee6;
  background: #fff;
  color: #4a6478;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s;
}
.role-guide-links button:hover,
.role-guide-links button.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--soft);
  box-shadow: 0 2px 8px rgba(27, 79, 156, 0.08);
}
.notice-soft {
  margin-top: 14px;
  background: #f4f8fc;
  border-color: #e2ebf3;
  color: #5a7284;
  font-size: 11px;
  padding: 8px 14px;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.notice-soft.fade-out {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.welcome-lead {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.welcome-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.welcome-path {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fbfd;
  padding: 16px 14px;
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: 0.2s;
}
.welcome-path i {
  font-size: 22px;
  color: var(--primary);
}
.welcome-path strong { font-size: 13px; color: var(--navy); }
.welcome-path span { font-size: 11px; color: var(--muted); line-height: 1.6; }
.welcome-path:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.welcome-sim {
  margin: 16px 0 0;
  font-size: 11px;
  color: #5d7f96;
  background: var(--accent-soft);
  border: 1px solid #c8e6d0;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.7;
}
.modal-backdrop.welcome-modal .modal { width: min(820px, 100%); }
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.footer-cta .primary-btn,
.footer-cta .accent-cta {
  font-size: 12px;
  padding: 10px 16px;
}
.footer-cta .accent-cta {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-cta .accent-cta:hover { filter: brightness(1.05); }
.sidebar {
  top: calc(var(--banner-h) + var(--header-h) + var(--nav-h) + var(--role-guide-h) + 16px);
}
@media (max-width: 900px) {
  .welcome-paths { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .welcome-paths { grid-template-columns: 1fr; }
}
.demo-fab {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 22px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(33, 128, 58, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.demo-fab:hover { transform: translateY(-2px); filter: brightness(1.05); }
.demo-fab i { font-size: 18px; }
body { padding-bottom: 72px; }
@media (max-width: 740px) {
  .demo-fab span { display: none; }
  .demo-fab { padding: 14px; border-radius: 50%; bottom: 16px; }
  /* Keep role shortcuts on phones — prospects need a clear path into Buyer/RFQ/Supplier/Admin. */
  .role-guide { display: block; }
  .role-guide-label { display: none; }
  .role-guide-inner { justify-content: center; padding: 6px 0; min-height: 36px; }
  .role-guide-links { width: 100%; justify-content: stretch; }
  .role-guide-links button {
    flex: 1 1 0;
    text-align: center;
    padding: 7px 8px;
    font-size: 11px;
  }
}
/* ---------------------------------------------------------------
   Dynamic chrome offsets (values published by demo-app.js).
   The demo banner and the header wrap onto extra rows on tablets and
   phones, so the fixed --banner-h / --header-h / --nav-h sizes stop
   matching the rendered height and the sticky bars overlap each other.
   These rules prefer the measured value and fall back to the static one.
   --------------------------------------------------------------- */
body { padding-top: var(--chrome-banner-h, var(--banner-h)); }
.main-header { top: var(--chrome-banner-h, var(--banner-h)); }
.main-nav {
  top: calc(var(--chrome-banner-h, var(--banner-h)) + var(--chrome-header-h, var(--header-h)));
}
.role-guide {
  top: calc(var(--chrome-banner-h, var(--banner-h)) + var(--chrome-header-h, var(--header-h)) + var(--chrome-nav-h, var(--nav-h)));
}
.sidebar {
  top: calc(var(--chrome-banner-h, var(--banner-h)) + var(--chrome-header-h, var(--header-h)) + var(--chrome-nav-h, var(--nav-h)) + var(--chrome-role-h, var(--role-guide-h)) + 16px);
}

@media (max-width: 740px) {
  /* Phones: banner + header + nav pinned together ate ~300px of an 812px screen.
     Keep the demo banner and the section nav pinned; let the tall wrapping header
     scroll away with the page. */
  .main-header { position: static; }
  .main-nav { top: var(--chrome-banner-h, var(--banner-h)); }
  .demo-disclaimer {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 741px) and (max-width: 1024px) {
  /* Tablets fell between the desktop 4/6-column grids and the phone breakpoint:
     four metric cards overflowed the shell horizontally. Re-flow the grids. */
  .shell { padding: 0 20px; }
  .metrics,
  .stat-grid,
  .product-grid,
  .sup-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (min-width: 741px) and (max-width: 1024px) {
  /* The search field was squeezed to a few pixels between the brand block and
     the header actions — give it its own full-width row on tablets. */
  .header-inner { flex-wrap: wrap; gap: 12px; padding: 12px 0; min-height: auto; }
  .searchbox { order: 3; flex-basis: 100%; max-width: none; }
  .head-actions { margin-inline-start: auto; }
}

/* ===============================================================
   Sales walkthrough — fixed coach panel (no fragile spotlight).
   =============================================================== */
.tour-trigger {
  background: var(--accent-soft) !important;
  color: #1d7a42 !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tour-trigger:hover { background: #cdebd7 !important; color: #156033 !important; }
.tour-trigger:before { content: "\25B6"; font-size: 9px; }

body.tour-active { padding-bottom: 190px; }
body.tour-active .demo-fab { display: none !important; }

.tour-focus {
  position: relative;
  z-index: 5;
  border-radius: 16px !important;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent), 0 16px 36px rgba(33, 128, 58, 0.2) !important;
  animation: tourPulse 1.8s ease-in-out infinite;
}
@keyframes tourPulse {
  0%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent), 0 16px 36px rgba(33, 128, 58, 0.16); }
  50% { box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(33, 128, 58, 0.4), 0 16px 36px rgba(33, 128, 58, 0.24); }
}

.tour-panel {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 320;
  width: min(720px, calc(100vw - 24px));
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  border: 1px solid rgba(27, 79, 156, 0.12);
  box-shadow: 0 18px 50px rgba(8, 22, 36, 0.26);
  overflow: hidden;
  text-align: start;
  animation: tourSlideUp 0.28s ease;
}
@keyframes tourSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.tour-panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(90deg, #0f2744 0%, #1B4F9C 70%, #1a6b35 140%);
  color: #fff;
}
.tour-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
}
.tour-brand strong { font-weight: 800; letter-spacing: 0.2px; }
.tour-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}
.tour-chapters {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow: auto;
  scrollbar-width: none;
}
.tour-chapters::-webkit-scrollbar { display: none; }
.tour-chapter {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.tour-chapter.is-active {
  background: #fff;
  color: #1B4F9C;
}
.tour-chapter.is-done {
  background: rgba(52, 211, 153, 0.22);
  color: #d1fae5;
}
.tour-x {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.tour-x:hover { background: rgba(255, 255, 255, 0.22); }

.tour-panel-body { padding: 12px 16px 6px; }
.tour-kicker {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.tour-panel-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.4;
  color: #0f2744;
}
.tour-panel-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #4d6373;
}
.tour-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  background: #eef8f1;
  border: 1px solid #c8e6d0;
  color: #1d6b3d;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}
.tour-tip i { margin-top: 1px; }

.tour-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tour-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 14px;
  border-top: 1px solid #edf1f4;
}
.tour-dots { display: flex; align-items: center; gap: 6px; }
.tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d5dee6;
}
.tour-dot.is-active {
  width: 22px;
  border-radius: 8px;
  background: var(--primary);
}
.tour-dot.is-done { background: var(--accent); }
.tour-nav { display: flex; align-items: center; gap: 8px; }

.tour-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.tour-btn.primary { background: var(--primary); color: #fff; }
.tour-btn.primary:hover { background: var(--primary-dark); }
.tour-btn.ghost { background: #eef3f7; color: var(--navy); }
.tour-btn.ghost:hover { background: #e2eaf1; }
.tour-btn.wa { background: var(--accent); color: #fff; }
.tour-btn.wa:hover { filter: brightness(1.05); }

.tour-panel--cta .tour-panel-body h3 { color: var(--accent); }

@media (max-width: 740px) {
  body.tour-active { padding-bottom: 210px; }
  .tour-panel {
    bottom: 8px;
    width: calc(100vw - 16px);
    border-radius: 14px;
  }
  .tour-chapters { display: none; }
  .tour-panel-body h3 { font-size: 15px; }
  .tour-panel-body p { font-size: 12px; }
  .tour-panel-foot { flex-wrap: wrap; gap: 8px; }
  .tour-nav { width: 100%; justify-content: flex-end; }
}
