:root{--blue:#0b63e5;--blue2:#1e78f0;--navy:#0b1b3a;--ink:#18243b;--muted:#6b7890;--line:#e3eaf5;--soft:#f5f8fd;--green:#14a06f;--orange:#f6a118;--red:#d94747;--shadow:0 14px 36px rgba(25,64,120,.11);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,92%);margin:auto}.topbar{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}.nav{min-height:72px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:900;color:var(--navy);white-space:nowrap}.brand small{display:block;font-size:11px;color:var(--blue);margin-top:-4px}.brandmark{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;border:5px solid var(--blue);font-weight:900;color:var(--blue);font-size:16px}.search{flex:1;display:flex;background:var(--soft);border:1px solid var(--line);border-radius:11px;overflow:hidden}.search input{flex:1;border:0;background:transparent;padding:11px 13px;outline:none}.search button{border:0;background:var(--blue);color:#fff;padding:0 18px;font-weight:800}.nav nav{display:flex;align-items:center;gap:16px;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;border:0;padding:12px 19px;border-radius:10px;font-weight:800;cursor:pointer}.btn:hover{background:#0755c5}.btn.sm{padding:8px 13px}.btn.light{background:#fff;color:var(--blue)}.btn.ghost{background:#eef4ff;color:#1459b8}.btn.danger{background:#c73a3a}.cartlink b{display:inline-grid;place-items:center;background:var(--blue);color:#fff;border-radius:50%;min-width:20px;height:20px;font-size:11px}.hero{background:linear-gradient(110deg,#eef5ff 0%,#f7fbff 56%,#f1f7e8 100%);overflow:hidden}.hero .container{min-height:390px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:20px}.hero h1{font-size:50px;line-height:1.02;margin:0 0 15px;color:var(--navy);max-width:670px}.hero h1 em{color:var(--blue);font-style:normal}.hero p{font-size:18px;color:#4f6078;max-width:620px}.heroart{height:340px;border-radius:30px;background:radial-gradient(circle at 65% 45%,#73c173 0 8%,transparent 9%),linear-gradient(145deg,#d8efff,#cde8c2);position:relative;box-shadow:inset 0 0 0 1px #ffffffaa}.heroart:before{content:"Sri Lanka • Local sellers • Local growth";position:absolute;left:28px;bottom:25px;background:#fff;padding:13px 16px;border-radius:13px;font-weight:800;color:var(--navy);box-shadow:var(--shadow)}.trust{margin-top:-22px;position:relative;z-index:2}.trustgrid{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;display:grid;grid-template-columns:repeat(4,1fr);padding:18px}.trustitem{padding:9px 17px;border-right:1px solid var(--line);font-weight:800}.trustitem:last-child{border:0}.trustitem small{display:block;color:var(--muted);font-weight:500}.section{padding:55px 0}.section.soft{background:var(--soft)}.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.sectionhead h2{margin:0;font-size:30px;color:var(--navy)}.sectionhead p{margin:4px 0 0;color:var(--muted)}.grid{display:grid;gap:20px}.products{grid-template-columns:repeat(4,1fr)}.product{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;transition:.2s;position:relative}.product:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.productimg{height:205px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.productimg img{width:100%;height:100%;object-fit:cover}.placeholder{width:78px;height:78px;border-radius:18px;background:#e4ecf8;display:grid;place-items:center;font-size:26px}.productbody{padding:15px}.sellername{font-size:12px;color:var(--muted)}.product h3{font-size:16px;margin:5px 0}.price{font-size:18px;font-weight:900;color:var(--navy);margin:10px 0}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{background:#edf5ff;color:#165eb8;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:700}.shops{grid-template-columns:repeat(3,1fr)}.shopcard{display:flex;gap:15px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:16px;padding:18px}.shoplogo{width:70px;height:70px;border-radius:16px;object-fit:cover;background:#eef4ff;display:grid;place-items:center;font-weight:900;color:var(--blue)}.shopcard h3{margin:0 0 3px}.muted{color:var(--muted)}.storehero{background:linear-gradient(110deg,#eff6ff,#f5faed);padding:38px 0}.storeprofile{display:flex;align-items:center;gap:20px}.storeprofile .shoplogo{width:105px;height:105px}.storeprofile h1{margin:0;font-size:36px;color:var(--navy)}.storemeta{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;color:#53627a}.productdetail{display:grid;grid-template-columns:1fr 1fr;gap:45px}.detailimg{min-height:450px;background:var(--soft);border-radius:20px;overflow:hidden;display:grid;place-items:center}.detailimg img{width:100%;height:100%;object-fit:cover}.detail h1{font-size:38px;line-height:1.1;margin:10px 0}.detail .price{font-size:29px}.qtyrow{display:flex;gap:10px;margin-top:20px}.qtyrow input{width:90px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}.field input,.field textarea,.field select,input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cad5e5;border-radius:9px;background:#fff;font:inherit}.field textarea{min-height:110px;resize:vertical}.span2{grid-column:1/-1}.flash{width:min(1180px,92%);margin:18px auto;padding:12px 15px;border-radius:10px;transition:.3s}.flash.ok{background:#e8fbf2;color:#08784d}.flash.err{background:#fff0f0;color:#a92828}.flash.fade{opacity:.25}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:13px}.table{width:100%;border-collapse:collapse;background:#fff;min-width:720px}.table th,.table td{padding:12px 13px;text-align:left;border-bottom:1px solid var(--line);font-size:13px}.table th{background:#f7f9fc;color:#596980;text-transform:uppercase;font-size:11px}.status{display:inline-block;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#eef4ff;color:#1458b5}.status.active,.status.accepted,.status.completed{background:#e5f8ef;color:#0b8056}.status.pending{background:#fff4df;color:#a26808}.status.suspended,.status.cancelled{background:#feecec;color:#a62727}.dashboard{display:grid;grid-template-columns:240px 1fr;min-height:calc(100vh - 72px)}.sidebar{background:var(--navy);padding:24px 16px;color:#cbd6e7}.sidebar .brand{color:#fff;margin:0 8px 25px}.sidebar a{display:block;padding:11px 13px;border-radius:9px;margin:4px 0}.sidebar a:hover,.sidebar a.active{background:#ffffff14;color:#fff}.dashmain{padding:30px;background:#f5f8fc}.dashhead{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.dashhead h1{margin:0;color:var(--navy)}.statgrid{grid-template-columns:repeat(4,1fr)}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.stat b{display:block;font-size:25px;color:var(--navy)}.stat span{font-size:12px;color:var(--muted)}.two{grid-template-columns:1fr 1fr}.footer{background:var(--navy);color:#b9c8df;padding:45px 0;margin-top:60px}.footergrid{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:30px}.footer .brand.light{color:#fff}.footer a,.footer span{display:block;margin-top:9px}.empty{text-align:center;padding:50px 20px;border:1px dashed #cbd7e8;border-radius:15px;color:var(--muted)}.notice{padding:12px 14px;background:#fff8e8;border:1px solid #f1d797;border-radius:10px}.checkoutgrid{display:grid;grid-template-columns:1.2fr .8fr;gap:25px}.cartitem{display:grid;grid-template-columns:90px 1fr 120px 100px;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.cartitem img{width:80px;height:80px;object-fit:cover;border-radius:10px}.adminbar{background:#09172f;color:#d9e3f3;padding:9px 0;font-size:13px}.adminbar .container{display:flex;justify-content:space-between}.pagination{display:flex;gap:7px;margin-top:20px}.pagination a{border:1px solid var(--line);padding:7px 10px;border-radius:8px}.seo-note{font-size:12px;color:var(--muted)}@media(max-width:1000px){.nav nav a:not(.btn):not(.cartlink){display:none}.hero .container{grid-template-columns:1fr}.heroart{display:none}.hero h1{font-size:42px}.products{grid-template-columns:repeat(3,1fr)}.shops{grid-template-columns:repeat(2,1fr)}.statgrid{grid-template-columns:repeat(2,1fr)}.dashboard{grid-template-columns:1fr}.sidebar{display:flex;gap:5px;overflow:auto;padding:10px}.sidebar .brand{display:none}.sidebar a{white-space:nowrap}.productdetail,.checkoutgrid{grid-template-columns:1fr}}@media(max-width:720px){.nav{gap:10px}.brand span:last-child{display:none}.search button{display:none}.hero .container{min-height:330px}.hero h1{font-size:35px}.trustgrid{grid-template-columns:1fr 1fr}.trustitem:nth-child(2){border-right:0}.products{grid-template-columns:1fr 1fr}.shops,.two,.formgrid,.footergrid{grid-template-columns:1fr}.span2{grid-column:auto}.section{padding:38px 0}.productimg{height:170px}.cartitem{grid-template-columns:70px 1fr}.cartitem>:nth-child(3),.cartitem>:nth-child(4){grid-column:2}.storeprofile{align-items:flex-start}.storeprofile h1{font-size:28px}}@media(max-width:450px){.products{grid-template-columns:1fr}.trustgrid{grid-template-columns:1fr}.trustitem{border-right:0;border-bottom:1px solid var(--line)}.nav{min-height:64px}.sectionhead{align-items:start;flex-direction:column}}

/* v1.1 seller onboarding + customer order tracking */
.onboarding{background:linear-gradient(135deg,#fff,#f4f8ff)}.onboarding-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.onboarding-head h3{margin:0 0 4px}.onboarding-head p{margin:0}.onboarding-head>b{font-size:24px;color:var(--blue)}.progressbar{height:9px;background:#e7edf7;border-radius:99px;overflow:hidden;margin:16px 0}.progressbar span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),#42a5f5);border-radius:99px}.checkgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.checkitem{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:11px;background:#fff;font-size:13px;font-weight:700}.checkitem span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#eef4ff;color:var(--blue);flex:none}.checkitem.done{border-color:#bce8d4;background:#f0fcf6;color:#08784d}.checkitem.done span{background:#dff7eb;color:#08784d}.trackwrap{max-width:860px;margin:auto;display:grid;gap:20px}.trackwrap h1{margin-bottom:8px}.trackresult h2{color:var(--navy)}.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:22px 0}.timeitem{position:relative;display:flex;gap:8px;align-items:flex-start;color:#8591a4;font-size:12px}.timeitem:after{content:"";position:absolute;height:3px;background:#dde5f0;top:15px;left:32px;right:0;z-index:0}.timeitem:last-child:after{display:none}.timeitem>span{position:relative;z-index:1;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#edf1f6;color:#7b879a;font-weight:900;flex:none}.timeitem.done{color:#0b8056}.timeitem.done>span{background:#dff7eb;color:#0b8056}.timeitem.done:after{background:#a8e1c7}.timeitem b{display:block;margin-top:1px}.timeitem small{display:block;color:var(--blue);margin-top:3px}.orderfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.orderfacts>div{background:var(--soft);border-radius:10px;padding:12px}.orderfacts span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;margin-bottom:4px}.orderfacts b{font-size:13px}.successmark{width:58px;height:58px;border-radius:50%;background:#dff7eb;color:#0b8056;display:grid;place-items:center;font-size:30px;font-weight:900;margin:0 auto 14px}.terms{display:flex;align-items:flex-start;gap:8px;font-size:13px}.terms input{width:auto;margin-top:3px}
@media(max-width:900px){.checkgrid{grid-template-columns:1fr 1fr}.timeline{grid-template-columns:1fr;gap:10px}.timeitem:after{width:3px;height:auto;left:14px;top:31px;bottom:-10px;right:auto}.orderfacts{grid-template-columns:1fr}}
@media(max-width:560px){.checkgrid{grid-template-columns:1fr}.onboarding-head{align-items:center}}

/* v2.0 Stage 1–5 polish */
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#edf5ff;color:#165eb8;font-size:12px;font-weight:800}.badge.warn{background:#fff4df;color:#9a6207}.authcard{max-width:620px;margin:auto}.paycard{max-width:650px;margin:auto;text-align:center;padding:38px}.paylogo{width:64px;height:64px;margin:0 auto 16px;border-radius:18px;display:grid;place-items:center;background:#0b63e5;color:white;font-weight:900;font-size:26px}.couponrow,.inlineform{display:flex;gap:10px}.footerbottom{border-top:1px solid #ffffff18;margin-top:28px;padding-top:20px;font-size:12px;color:#8fa2bf}.price del{font-size:13px;color:#8a96a8;font-weight:600;margin-left:7px}.storehero.hasbanner{background-size:cover;background-position:center;min-height:260px;display:flex;align-items:center}.storehero.hasbanner h1,.storehero.hasbanner .storemeta,.storehero.hasbanner .muted{color:#fff}.storehero.hasbanner .shoplogo{box-shadow:0 12px 35px #0005;border:3px solid #fff}.panel hr{border:0;border-top:1px solid var(--line);margin:24px 0}.status.paid{background:#e5f8ef;color:#0b8056}.status.failed{background:#feecec;color:#a62727}.status.processing,.status.shipped{background:#e9f2ff;color:#1458b5}@media(max-width:620px){.couponrow,.inlineform{flex-direction:column}.paycard{padding:24px}}

/* =========================================================
   QuezCorp Marketplace v3.0 — integrated visual storefront
   ========================================================= */
:root{--blue:#0866df;--blue2:#0b74ff;--navy:#081d46;--ink:#17233c;--muted:#66758e;--soft:#f5f8fd;--line:#e2e9f4;--green:#0aa66f;--orange:#f6a20a;--shadow:0 16px 42px rgba(32,64,120,.10)}
*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#fff;color:var(--ink)}a{text-decoration:none;color:inherit}.container{width:min(1220px,94%)}
.utilitybar{background:#071a38;color:#dce8fb;font-size:12px}.utilitybar .container{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.utilitybar a{margin-left:18px;color:#fff}.topbar{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 2px 18px rgba(20,50,96,.08)}.nav{min-height:74px}.brand{font-weight:900;color:#0b2862}.brandmark{background:linear-gradient(135deg,#1294ff,#0758cc);color:#fff;border-radius:50% 50% 45% 50%;box-shadow:0 6px 14px rgba(8,102,223,.22)}.brand small{color:#0866df}.search{max-width:520px;background:#f5f8fc;border:1px solid #e3e9f4;border-radius:12px;overflow:hidden}.search input{border:0;background:transparent}.search button{width:48px;border-radius:9px;margin:4px;background:#0866df;font-size:20px}.nav nav{display:flex;align-items:center;gap:20px;font-size:13px;font-weight:700}.nav nav a:hover{color:#0866df}.cartlink{display:flex;align-items:center;gap:4px}.cartlink b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#0866df;color:#fff;font-size:11px}.categorynav{display:flex;gap:23px;align-items:center;overflow:auto;padding:10px 0 12px;font-size:12px;font-weight:700;border-top:1px solid #eef2f8}.categorynav a{white-space:nowrap;color:#44536c}.categorynav a:hover{color:#0866df}.mobilemenu{display:none;border:0;background:#f3f6fb;border-radius:9px;font-size:20px;padding:8px 10px}
.hero{padding:0;background:#f7fbff}.hero .container{min-height:455px;grid-template-columns:.92fr 1.08fr;gap:0;background:linear-gradient(90deg,#f9fcff 0%,#f4f9ff 42%,rgba(244,249,255,.12) 62%),url('../images/sri-lanka-hero.jpg') center right/58% 100% no-repeat;border-radius:0 0 24px 24px;overflow:hidden;padding:58px 48px}.hero h1{font-size:53px;letter-spacing:-1.7px;max-width:610px}.hero h1 em{font-style:normal;color:#075bd5}.hero p{font-size:17px;max-width:530px;line-height:1.7}.hero .chip{background:#eaf3ff;color:#075bd5}.heroart{display:block;min-height:320px}.hero .btn{padding:13px 23px}.hero .btn.ghost{background:#fff;border:1px solid #cfdbee}.hero-facts{display:flex;gap:22px;flex-wrap:wrap;margin-top:26px}.hero-facts span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#41516a}.hero-facts i{font-style:normal;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#fff;box-shadow:0 4px 16px #24467a18}
.trust{background:#fff}.trustgrid{padding:20px 0;grid-template-columns:repeat(4,1fr)}.trustitem{display:flex;align-items:center;gap:12px;font-weight:800;color:#192b4b}.trustitem:before{content:'✓';display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e9f8f1;color:#0a9a67;font-weight:900}.trustitem small{display:block;font-weight:500;color:#7a879b;margin-top:2px}
.section{padding:50px 0}.soft{background:#f6f9fe}.sectionhead h2{font-size:26px;color:#0a1f49;margin:0 0 5px}.sectionhead p{margin:0;color:#748198}.sectionhead>a{color:#0866df;font-weight:800;font-size:13px}.category-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.category-card{background:#fff;border:1px solid #e3eaf5;border-radius:15px;padding:18px 10px;text-align:center;transition:.18s;box-shadow:0 6px 18px rgba(40,72,124,.04)}.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c6d7ef}.category-icon{width:48px;height:48px;margin:0 auto 9px;border-radius:15px;display:grid;place-items:center;font-size:26px;background:linear-gradient(135deg,#eef6ff,#f8f3ff)}.category-card b{display:block;font-size:12px}.category-card small{color:#8190a7}
.products{grid-template-columns:repeat(4,1fr);gap:18px}.modern-product{border:1px solid #e3e9f3;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(25,61,113,.05);transition:.18s}.modern-product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-media{position:relative;background:#f7f9fc;height:230px;overflow:hidden}.product-media>a{display:block;width:100%;height:100%}.product-media img{width:100%;height:100%;object-fit:cover;transition:.25s}.modern-product:hover .product-media img{transform:scale(1.025)}.productbody{padding:15px}.sellername{color:#67758c;font-size:11px;font-weight:700}.productbody h3{font-size:15px;line-height:1.35;min-height:40px;margin:7px 0}.price{font-size:18px}.price del{font-size:12px}.sale-badge{position:absolute;top:11px;left:11px;background:#ff3e59;color:#fff;border-radius:8px;padding:5px 7px;font-size:11px;font-weight:900}.favorite-form{position:absolute;right:10px;top:10px}.favorite-btn{width:34px;height:34px;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 16px #203f6d20;font-size:21px;line-height:1;color:#32415c;cursor:pointer}.favorite-btn.active{color:#e43052}.verified-mini{display:inline-grid;place-items:center;background:#0866df;color:#fff;width:15px;height:15px;border-radius:50%;font-size:9px;margin-left:4px}.ratingline{font-size:12px;color:#66758d;margin:5px 0 8px}.ratingline span{color:#ffae00}.btn.full{width:100%;margin-top:12px}.btn{background:#0866df;border-radius:9px;font-weight:800;box-shadow:none}.btn:hover{background:#0558c6}.btn.ghost{color:#075bd5}.btn.danger{background:#d93d4d}
.shop-showcase{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.seller-tile{background:#fff;border:1px solid #e1e8f3;border-radius:17px;overflow:hidden;transition:.18s}.seller-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.seller-cover{height:100px;background:linear-gradient(135deg,#e6f4ff,#eefbe9);background-size:cover;background-position:center}.seller-info{position:relative;padding:0 16px 17px}.seller-info .shoplogo{width:66px;height:66px;margin-top:-32px;border:4px solid #fff;box-shadow:0 6px 15px #25436b22}.seller-info h3{margin:8px 0 2px}.seller-meta{font-size:12px;color:#728198}.seller-rating{font-size:12px;color:#f0a100;margin-top:8px}.verified{display:inline-flex;align-items:center;gap:4px;color:#0866df;font-size:11px;font-weight:800}
.promo-band{background:linear-gradient(110deg,#073a8e,#0d6ce5);color:#fff;border-radius:22px;padding:30px 34px;display:grid;grid-template-columns:1.4fr .6fr;align-items:center;gap:30px;overflow:hidden;position:relative}.promo-band:after{content:'';position:absolute;width:260px;height:260px;border:50px solid #ffffff10;border-radius:50%;right:-60px;top:-90px}.promo-band h2{margin:0 0 8px;font-size:28px}.promo-band p{color:#dbe9ff}.promo-band .btn{background:#fff;color:#075bd5;position:relative;z-index:2}
.storehero{padding:0;background:#f3f7fd}.store-cover{min-height:270px;background:linear-gradient(135deg,#dfeeff,#e7f7ed);background-size:cover;background-position:center;position:relative}.store-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(5,23,53,.68))}.store-profile-card{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-top:-92px;padding-bottom:25px;color:#fff}.storeprofile{display:flex;align-items:center;gap:18px}.storeprofile .shoplogo{width:112px;height:112px;border:5px solid #fff;box-shadow:0 12px 30px #0004}.storeprofile h1{color:#fff;font-size:34px}.storemeta{color:#e9f1fd}.store-actions{display:flex;gap:10px}.store-tabs{background:#fff;border-bottom:1px solid #e0e8f3}.store-tabs .container{display:flex;gap:28px;overflow:auto}.store-tabs a{padding:16px 0;font-size:13px;font-weight:800;color:#5a6880;white-space:nowrap}.store-tabs a.active{color:#0866df;border-bottom:3px solid #0866df}.store-about-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:22px}.store-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.store-kpi{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px}.store-kpi b{font-size:21px;color:#0b2a61;display:block}.store-kpi span{font-size:11px;color:#75839a}
.productdetail{grid-template-columns:1.1fr .9fr;gap:34px}.gallery{display:grid;grid-template-columns:78px 1fr;gap:13px}.gallery-thumbs{display:flex;flex-direction:column;gap:10px}.gallery-thumb{width:78px;height:78px;border:1px solid #dfe6f1;border-radius:11px;overflow:hidden;background:#fff;cursor:pointer}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.detailimg{min-height:520px;border:1px solid #e1e8f2;background:#fff}.detailimg img{object-fit:contain}.detail h1{font-size:36px}.detail .price{font-size:28px}.stock-pill{display:inline-flex;gap:6px;align-items:center;padding:7px 10px;border-radius:8px;background:#eaf9f1;color:#078052;font-size:12px;font-weight:800}.product-seller-card{border:1px solid var(--line);border-radius:14px;padding:15px;display:flex;align-items:center;gap:12px;margin:18px 0}.product-seller-card .shoplogo{width:50px;height:50px}.trust-pills{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.trust-pill{background:#f7fafe;border:1px solid #e4ebf5;border-radius:11px;padding:11px;text-align:center;font-size:11px;color:#55667f}.product-tabs{margin-top:35px}.review-card{border-bottom:1px solid var(--line);padding:16px 0}.review-card:last-child{border:0}.stars{color:#ffae00;letter-spacing:1px}.spec-table{width:100%;border-collapse:collapse}.spec-table td{padding:10px;border-bottom:1px solid var(--line)}
.local-story{background:#f5f8fc;padding:50px 0}.storygrid{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.storygrid h2{font-size:36px;color:#0a2455;margin:8px 0}.storygrid p{color:#65758e;line-height:1.8}.storyphoto{min-height:270px;border-radius:20px;background:url('../images/sri-lanka-story.jpg') center/cover no-repeat;box-shadow:var(--shadow)}.eyebrow{color:#0866df;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.footer{margin-top:0;background:#071b3d}.footergrid{padding-top:10px}.footer a:hover{color:#fff}
.dashboard .dashmain{background:#f4f7fb}.sidebar{background:linear-gradient(180deg,#071b3d,#0a2552);box-shadow:inset -1px 0 #ffffff0d}.stat{border:0;box-shadow:0 7px 22px rgba(30,60,110,.06)}.panel{box-shadow:0 8px 24px rgba(28,57,108,.05)}.dashhead h1{letter-spacing:-.5px}.dashboard .table{border-radius:14px}.dashboard .btn{box-shadow:none}.dashchart{height:220px;display:flex;align-items:flex-end;gap:8px;padding:18px 4px 0}.dashbar{flex:1;min-width:8px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#1b8aff,#0866df);position:relative}.dashbar:hover:after{content:attr(data-label);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#071b3d;color:#fff;padding:5px 7px;border-radius:6px;font-size:10px;white-space:nowrap}
.market-filter{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:10px;margin-bottom:22px}.market-filter .btn{align-self:end}.wishlist-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:1050px){.category-grid{grid-template-columns:repeat(4,1fr)}.products{grid-template-columns:repeat(3,1fr)}.shop-showcase{grid-template-columns:repeat(2,1fr)}.hero .container{grid-template-columns:1fr;background:linear-gradient(90deg,rgba(248,252,255,.95),rgba(248,252,255,.70)),url('../images/sri-lanka-hero.jpg') center/cover no-repeat}.heroart{display:none}.market-filter{grid-template-columns:1fr 1fr}.storygrid{grid-template-columns:1fr}.store-about-grid{grid-template-columns:1fr}}
@media(max-width:760px){.utilitybar{display:none}.categorynav{display:none}.nav nav a:not(.cartlink){display:none}.mobilemenu{display:block}.hero .container{min-height:400px;padding:44px 25px}.hero h1{font-size:38px}.hero p{font-size:15px}.trustgrid{grid-template-columns:1fr 1fr}.products{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(4,1fr)}.shop-showcase{grid-template-columns:1fr 1fr}.productdetail{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.gallery-thumbs{flex-direction:row;order:2;overflow:auto}.detailimg{min-height:360px}.store-profile-card{align-items:flex-start;flex-direction:column;margin-top:-110px}.store-actions{padding-left:128px}.store-about-grid{grid-template-columns:1fr}.market-filter{grid-template-columns:1fr}.promo-band{grid-template-columns:1fr}.storygrid h2{font-size:29px}}
@media(max-width:500px){.products,.wishlist-grid{grid-template-columns:1fr 1fr;gap:10px}.product-media{height:170px}.productbody{padding:11px}.productbody h3{font-size:13px}.productbody .btn{padding:9px 8px;font-size:11px}.category-grid{grid-template-columns:repeat(2,1fr)}.shop-showcase{grid-template-columns:1fr}.trustgrid{grid-template-columns:1fr}.hero h1{font-size:33px}.storeprofile h1{font-size:26px}.storeprofile .shoplogo{width:90px;height:90px}.store-actions{padding-left:0}.trust-pills{grid-template-columns:1fr}.storyphoto{min-height:220px}}
@media(max-width:760px){.nav nav.mobile-open{display:flex;position:absolute;top:66px;right:3%;left:3%;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:12px;border-radius:14px;flex-direction:column;align-items:stretch}.nav nav.mobile-open a{display:block!important;padding:9px 10px}}

/* Keep dashboard tables and navigation inside their grid tracks on small screens. */
.dashboard>.sidebar,.dashboard>.dashmain{min-width:0}
.dashmain h2,.paycard .seo-note{overflow-wrap:anywhere}
@media(max-width:620px){.dashboard .dashmain{padding:22px 12px}.dashboard .panel{padding:16px}.sidebar a{flex-shrink:0}}
@media(max-width:620px){.payment-ledger:not(.admin-ledger) .table{min-width:0;table-layout:fixed}.payment-ledger:not(.admin-ledger) .table td,.payment-ledger:not(.admin-ledger) .table th{padding:10px 5px;font-size:11px;overflow-wrap:anywhere}}
.status.ready,.status.booked{background:#fff4df;color:#9a6207}.status.picked_up,.status.in_transit,.status.out_for_delivery{background:#e9f2ff;color:#1458b5}.status.delivered{background:#e5f8ef;color:#0b8056}.status.delivery_failed,.status.returned,.status.cancelled{background:#feecec;color:#a62727}
/* v3.6.0 seller media/KYC refinements */
.seller-cover img{width:100%;height:100%;object-fit:cover;display:block}.seller-info .shoplogo,.storeprofile .shoplogo,.product-seller-card .shoplogo{object-fit:cover}.status.draft{background:#eef3fb;color:#66758c}.status.needs_changes{background:#fff2d9;color:#9a5d00}.status.approved,.status.accepted{background:#e5f8ef;color:#0b8056}.status.rejected{background:#feecec;color:#a62727}.kyc-doc-note{font-size:12px;color:#6b7890}.orderfacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.orderfacts>div{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:12px}.orderfacts span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.history>div{padding:11px 0;border-bottom:1px solid var(--line)}.history>div:last-child{border-bottom:0}.history>div>span,.history>div>small{display:block;color:var(--muted);font-size:12px;margin-top:3px}@media(max-width:720px){.orderfacts{grid-template-columns:1fr}}
.security-secret{padding:14px;border:1px solid #d8e3f1;background:#f6f9fd;border-radius:12px;margin:12px 0}.security-secret span{display:block;font-size:11px;text-transform:uppercase;color:#708198;margin-bottom:6px}.security-secret code{font-size:18px;letter-spacing:2px;word-break:break-all}.recovery-codes{background:#0d2137;color:#fff;padding:16px;border-radius:12px;font-size:15px;line-height:1.8;letter-spacing:1px;overflow:auto}.wrap-code{display:block;white-space:normal;word-break:break-all;padding:10px;background:#f5f8fc;border-radius:8px;margin-top:8px}

.checkout-summary{padding:20px}.checkout-seller-group{border:1px solid var(--line);border-radius:14px;padding:14px;margin-top:14px;background:#fbfdff}.checkout-seller-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.checkout-seller-head h4{margin:2px 0 0;color:var(--navy);font-size:17px}.checkout-seller-items{margin-top:12px}.checkout-seller-item{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #e8eef7}.checkout-seller-item:first-child{border-top:0}.checkout-seller-item img{width:52px;height:52px;border-radius:9px;object-fit:cover;background:#f5f8fd}.checkout-seller-item small{display:block;color:var(--muted);margin-top:3px}.checkout-seller-item strong{white-space:nowrap}.checkout-seller-costs{display:grid;gap:6px;margin-top:10px;padding-top:10px;border-top:1px dashed #d7e1ee}.checkout-seller-costs span{display:flex;justify-content:space-between;gap:12px;font-size:13px}.checkout-grand-total{display:flex;justify-content:space-between;align-items:center;font-size:19px;padding:18px 0 14px;margin-top:6px}.checkout-grand-total b{font-size:24px;color:var(--navy)}.back-to-top{position:fixed;right:24px;bottom:88px;width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-size:24px;font-weight:900;box-shadow:0 12px 30px rgba(11,99,229,.28);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s;z-index:70}.back-to-top.visible{opacity:1;visibility:visible;transform:none}.back-to-top:hover{background:#0755c5}@media(max-width:720px){.checkout-seller-item{grid-template-columns:46px 1fr}.checkout-seller-item strong{grid-column:2}.back-to-top{right:16px;bottom:82px;width:44px;height:44px}}
.analytics-filters{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap}.analytics-filter-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.analytics-filter-form label{font-size:12px;font-weight:800;color:#55667f;display:flex;flex-direction:column;gap:6px}.analytics-filter-form select,.analytics-filter-form input{min-width:145px}.analytics-chart{margin-top:22px}.analytics-chart svg{width:100%;height:auto;display:block}.analytics-chart .chart-labels text{font-size:10px;fill:#77859a}.analytics-chart .chart-labels path{stroke:#e8eef6}.analytics-report-note{font-size:12px;color:#728198;margin:10px 0 0}@media(max-width:700px){.analytics-filters,.analytics-filter-form{align-items:stretch}.analytics-filter-form{width:100%}.analytics-filter-form label{flex:1 1 140px}.analytics-filter-form .btn{width:100%}}
.sponsored-badge{position:absolute;top:10px;left:10px;z-index:3;background:#fff7d6;color:#7a5600;border:1px solid #efd27a;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;letter-spacing:.02em;box-shadow:0 4px 12px #6b4e0018}.seller-cover{position:relative}.growth-disclosure{font-size:11px;color:#7a8798;margin-top:6px}.growth-panel{border:1px solid #dce7f5;background:linear-gradient(180deg,#f9fbff,#fff)}.growth-referral-link{font-size:12px}.pwa-install-note{display:flex;gap:10px;align-items:flex-start}.btn.enabled{background:#e7f8ef;color:#0d7c53;border-color:#bfe8d2}.promo-strip{padding-top:0}.promo-strip .sectionhead{margin-bottom:14px}

/* v4.3 SEO health UI */
.seo-signal{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;border:1px solid transparent}.seo-green{color:#087443;background:#eaf8f0;border-color:#bce8cf}.seo-orange{color:#9a5a00;background:#fff6e5;border-color:#f4d8a1}.seo-red{color:#b42318;background:#fff0ef;border-color:#f1c4c0}.seo-neutral{color:#52627a;background:#f1f4f8;border-color:#dce3ed}.seo-editor-card{padding:18px;border:1px solid #dce6f7;border-radius:16px;background:#f8fbff}.seo-editor-card h4{margin:0 0 4px}.seo-editor-card p{margin:0;color:#63738b}.seo-editor-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.seo-recommend-box{margin-top:14px;padding:12px 14px;background:#fff;border:1px solid #e1e8f3;border-radius:12px;font-size:13px}.seo-recommend-box>div{margin-top:5px}.seo-field-wrap{position:relative}.seo-field-signal{float:right;font-size:11px;font-weight:800}.seo-field-signal.seo-green{background:transparent;border:0;padding:0;color:#087443}.seo-field-signal.seo-orange{background:transparent;border:0;padding:0;color:#9a5a00}.seo-field-signal.seo-red{background:transparent;border:0;padding:0;color:#b42318}.seo-field-signal.seo-neutral{background:transparent;border:0;padding:0;color:#667085}.seo-restore{border:0;background:transparent;color:#075bff;padding:7px 0 0;font-weight:750;cursor:pointer;font-size:12px}.seo-restore:hover{text-decoration:underline}.seo-inline-status{margin-top:7px;font-size:12px;font-weight:700}.seo-inline-status.seo-green{background:transparent;border:0;padding:0}.seo-inline-status.seo-orange{background:transparent;border:0;padding:0}.seo-inline-status.seo-red{background:transparent;border:0;padding:0}.seo-google-preview{padding:16px;border:1px solid #e0e6ef;border-radius:14px;background:#fff}.seo-google-preview small{display:block;color:#697386;margin-bottom:6px}.seo-google-preview a{display:block;color:#1a0dab;font-size:20px;line-height:1.3;margin-bottom:2px;text-decoration:none}.seo-google-preview span{display:block;color:#16833d;font-size:12px}.seo-google-preview p{margin:5px 0 0;color:#4d5156;line-height:1.45}.seo-check-list{display:grid;gap:8px}.seo-check{display:grid;grid-template-columns:14px minmax(110px,auto) 1fr;gap:9px;align-items:center;padding:9px 11px;border-radius:10px;border:1px solid transparent}.seo-check b{font-size:13px}.seo-check small{color:inherit;opacity:.82}.seo-check.seo-green{background:#f1fbf5;border-color:#d1efdc}.seo-check.seo-orange{background:#fff9ee;border-color:#f4dfb7}.seo-check.seo-red{background:#fff4f3;border-color:#efcecb}@media(max-width:700px){.seo-editor-head{display:block}.seo-editor-head .seo-signal{margin-top:10px}.seo-check{grid-template-columns:14px 1fr}.seo-check small{grid-column:2}}
.seo-change-guidance{margin-top:6px;font-size:12px;line-height:1.4}.seo-change-guidance:empty{display:none}.seo-change-guidance.seo-green{background:transparent;border:0;padding:0;color:#557064}.seo-change-guidance.seo-orange{background:transparent;border:0;padding:0;color:#8a590d}.seo-change-guidance.seo-red{background:transparent;border:0;padding:0;color:#a5362d}.seo-change-guidance.seo-neutral{background:transparent;border:0;padding:0;color:#667085}.image-caption{margin-top:7px;color:#667085;font-size:12px;text-align:center}
.store-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}.store-cover:after{pointer-events:none}

/* v4.3.1 requested presentation refinements */
.category-photo-card{padding:0 0 14px;overflow:hidden;align-items:stretch}.category-photo{display:block;width:100%;height:118px;overflow:hidden;background:#eef3f8}.category-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}.category-photo-card:hover .category-photo img{transform:scale(1.035)}.category-photo-card b{display:block;padding:12px 10px 0;text-align:center}.policy-page{background:#f7f9fc}.policy-panel{max-width:920px;margin:auto}.policy-panel h1{margin-top:0}.policy-body{font-size:15px;line-height:1.8;white-space:normal}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.16);padding-top:18px;margin-top:24px;font-size:12px;opacity:.82}@media(max-width:700px){.footer-bottom{flex-direction:column}.category-photo{height:100px}}
.faq-list{display:grid;gap:12px}.faq-list details{padding:18px 20px}.faq-list summary{cursor:pointer;list-style:none}.faq-list summary::-webkit-details-marker{display:none}.faq-list details p{margin:14px 0 0;color:#52627a;line-height:1.7}

/* v4.3.1 final clean-light footer */
.footer-cleanlight-v2.sitefooter{margin-top:56px;background:linear-gradient(180deg,#fff 0%,#f7faff 100%);border-top:1px solid #e2eaf4;color:#243b63}
.footer-shell-v2{display:grid;grid-template-columns:minmax(250px,1.2fr) minmax(140px,.62fr) minmax(170px,.72fr) minmax(140px,.62fr) minmax(290px,1.05fr);gap:0;padding:34px 0 20px;align-items:start}
.footer-cleanlight-v2 .footer-brand-block,.footer-cleanlight-v2 .footer-column,.footer-cleanlight-v2 .footer-promo-group{padding:8px 16px}
.footer-cleanlight-v2 .footer-column,.footer-cleanlight-v2 .footer-promo-group{border-left:1px solid #e1e8f3}
.footer-cleanlight-v2 .footer-brand{display:inline-flex;align-items:center;color:#0c255d;margin-bottom:16px}.footer-cleanlight-v2 .footer-brand .brandmark{width:58px;height:58px;border:0;background:none;padding:0;display:inline-grid;place-items:center;margin-right:8px}.footer-cleanlight-v2 .footer-brand .brandname{font-size:24px;font-weight:900;line-height:1.02}.footer-cleanlight-v2 .footer-brand .brandname small{display:block;font-size:13px;letter-spacing:.26em;text-transform:uppercase;color:#7d8cac;margin-top:8px}
.footer-brand-line{margin:0 0 10px;font-size:16px;line-height:1.45;color:#112c5f}.footer-cleanlight-v2 .footer-intro{margin:0;max-width:260px;color:#6d7f9f;font-size:15px;line-height:1.7}
.footer-cleanlight-v2 h3{margin:4px 0 14px;font-size:17px;color:#0f285e;line-height:1.2}.footer-cleanlight-v2 a{display:block;margin:0 0 13px;color:#556b90;font-size:15px;line-height:1.35;transition:color .15s ease}.footer-cleanlight-v2 a:hover{color:#0b63e5}
.footer-cleanlight-v2 .footer-payments-card.compact{max-width:280px}.footer-cleanlight-v2 .payhere-local-banner{display:inline-block;margin:0 0 14px;line-height:0}.footer-cleanlight-v2 .payhere-local-banner:hover{transform:none}.footer-cleanlight-v2 .payhere-local-banner img{display:block;width:250px;max-width:100%;height:auto;border:0;background:transparent}
.footer-service-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:4px}.footer-service-item{text-align:center;color:#374d78}.footer-service-icon{width:34px;height:34px;display:inline-grid;place-items:center;margin:0 auto 8px;border-radius:50%;background:#f3f7fe;color:#173d7b}.footer-service-icon .qicon{width:18px;height:18px}.footer-service-item small{display:block;font-size:12px;line-height:1.25;color:#4e6387}
.footer-bottom-v2{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e2eaf4;padding:14px 0 16px;margin-top:0;color:#6a7c98;font-size:12px}.footer-cleanlight-v2 .footer-legal-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.footer-cleanlight-v2 .footer-legal-links a{margin:0;font-size:13px;color:#52698f}.footer-cleanlight-v2 .footer-legal-links a + a{position:relative;padding-left:12px}.footer-cleanlight-v2 .footer-legal-links a + a:before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:14px;background:#ced9ea}
@media(max-width:1160px){.footer-shell-v2{grid-template-columns:1.2fr 1fr 1fr}.footer-cleanlight-v2 .footer-brand-block{grid-column:1/-1;border-bottom:1px solid #e1e8f3;padding-bottom:20px;margin-bottom:6px}.footer-cleanlight-v2 .footer-column:nth-child(2){border-left:0}.footer-cleanlight-v2 .footer-promo-group{grid-column:1/-1;border-left:0;border-top:1px solid #e1e8f3;padding-top:24px;margin-top:10px}}
@media(max-width:760px){.footer-shell-v2{grid-template-columns:1fr;padding:28px 0 18px}.footer-cleanlight-v2 .footer-brand-block,.footer-cleanlight-v2 .footer-column,.footer-cleanlight-v2 .footer-promo-group{padding:0 0 20px;margin:0}.footer-cleanlight-v2 .footer-column,.footer-cleanlight-v2 .footer-promo-group{border-left:0;border-top:1px solid #e1e8f3;padding-top:20px}.footer-cleanlight-v2 .footer-brand-block{border-bottom:0}.footer-bottom-v2{flex-direction:column;align-items:flex-start}}


/* v4.3.1 final PayHere embed - exact official code */
.footer-cleanlight-v2 .footer-payhere-exact{margin:2px 0 14px}
.footer-cleanlight-v2 .footer-payhere-exact a{display:inline-block !important;margin:0 !important;line-height:0 !important;transform:none !important}
.footer-cleanlight-v2 .footer-payhere-exact a:hover{transform:none !important}
.footer-cleanlight-v2 .footer-payhere-exact img{display:block !important;width:250px !important;max-width:100% !important;height:auto !important;border:0 !important}
.footer-cleanlight-v2 .payhere-local-banner,.footer-cleanlight-v2 .payhere-official-banner,.footer-cleanlight-v2 .payment-badges.payment-logos{display:none !important}

/* v4.3.1 Hotfix 11 - final PayHere banner visibility fix */
.footer-cleanlight-v2 .payhere-final-banner-v11{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin:4px 0 14px !important;
  line-height:0 !important;
}
.footer-cleanlight-v2 .payhere-final-banner-v11 a{
  display:inline-block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin:0 !important;
  padding:0 !important;
  line-height:0 !important;
  transform:none !important;
}
.footer-cleanlight-v2 .payhere-final-banner-v11 img{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:250px !important;
  max-width:100% !important;
  height:auto !important;
  border:0 !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
}


/* v4.3.1 Hotfix 12 - mobile footer accordion optimization */
.footer-cleanlight-v2 .footer-mobile-accordion{display:none}
.footer-cleanlight-v2 .footer-mobile-section{margin:0;border-top:1px solid #e2eaf4}
.footer-cleanlight-v2 .footer-mobile-section:last-child{border-bottom:1px solid #e2eaf4}
.footer-cleanlight-v2 .footer-mobile-section summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;color:#0f285e;font-size:17px;font-weight:800}
.footer-cleanlight-v2 .footer-mobile-section summary::-webkit-details-marker{display:none}
.footer-cleanlight-v2 .footer-mobile-summary-main{display:flex;align-items:center;gap:14px}
.footer-cleanlight-v2 .footer-mobile-summary-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f3f7fe;color:#173d7b;flex:0 0 auto}
.footer-cleanlight-v2 .footer-mobile-summary-icon .qicon{width:22px;height:22px}
.footer-cleanlight-v2 .footer-mobile-chevron{position:relative;display:inline-block;width:12px;height:12px;flex:0 0 auto}
.footer-cleanlight-v2 .footer-mobile-chevron:before{content:'';position:absolute;inset:1px 0 0 1px;border-right:3px solid #173d7b;border-bottom:3px solid #173d7b;transform:rotate(45deg);transition:transform .18s ease, top .18s ease}
.footer-cleanlight-v2 .footer-mobile-section[open] .footer-mobile-chevron:before{transform:rotate(-135deg);top:4px}
.footer-cleanlight-v2 .footer-mobile-links{margin:0 0 14px;padding:16px 18px;border-radius:16px;background:#f8fbff;border:1px solid #e7eef9}
.footer-cleanlight-v2 .footer-mobile-links a{display:block;margin:0;padding:11px 0;color:#5a6f93;font-size:16px;line-height:1.35}
.footer-cleanlight-v2 .footer-mobile-links a + a{border-top:1px solid #e6edf8}
@media(max-width:760px){
  .footer-cleanlight-v2 .footer-shell-v2{grid-template-columns:1fr;padding:26px 0 18px}
  .footer-cleanlight-v2 .footer-brand-block{grid-column:1/-1;padding:0 0 18px;margin:0;text-align:center;border-bottom:0}
  .footer-cleanlight-v2 .footer-brand{justify-content:center}
  .footer-cleanlight-v2 .footer-intro{max-width:310px;margin:0 auto}
  .footer-cleanlight-v2 .footer-column{display:none}
  .footer-cleanlight-v2 .footer-mobile-accordion{display:block;grid-column:1/-1;padding:0 0 20px;margin:0}
  .footer-cleanlight-v2 .footer-promo-group{grid-column:1/-1;border-left:0;border-top:0;padding:4px 0 20px;margin:0;display:block}
  .footer-cleanlight-v2 .footer-payments-card.compact{max-width:100%;text-align:center}
  .footer-cleanlight-v2 .payhere-final-banner-v11{display:flex !important;justify-content:center}
  .footer-cleanlight-v2 .footer-service-row{gap:12px;padding-top:8px}
  .footer-cleanlight-v2 .footer-service-item small{font-size:13px}
  .footer-cleanlight-v2 .footer-bottom-v2{flex-direction:column;align-items:center;text-align:center;padding:16px 0 22px}
  .footer-cleanlight-v2 .footer-legal-links{justify-content:center;gap:10px}
}
@media(max-width:420px){
  .footer-cleanlight-v2 .footer-brand .brandname{font-size:22px}
  .footer-brand-line{font-size:15px}
  .footer-cleanlight-v2 .footer-intro{font-size:14px;line-height:1.65}
  .footer-cleanlight-v2 .footer-mobile-section summary{font-size:16px;padding:16px 0}
  .footer-cleanlight-v2 .footer-mobile-summary-icon{width:38px;height:38px}
  .footer-cleanlight-v2 .footer-mobile-links{padding:14px 16px}
  .footer-cleanlight-v2 .footer-mobile-links a{font-size:15px;padding:10px 0}
  .footer-cleanlight-v2 .payhere-final-banner-v11 img{width:min(100%,250px) !important}
  .footer-cleanlight-v2 .footer-service-row{gap:8px}
  .footer-cleanlight-v2 .footer-service-item small{font-size:12px}
}

/* v4.3.1 Hotfix 14 - Super Admin consistency and review fixes */
.qcm-admin-dashboard>.qcm-admin-sidebar{
  position:sticky;
  top:0;
  align-self:start;
  height:100vh;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.qcm-admin-dashboard>.dashmain{min-width:0;min-height:100vh}
.qcm-admin-dashboard .admin-flash{width:100%;margin:0 0 18px}
.qcm-admin-dashboard .dashboard-account{position:relative;z-index:2}

/* Dashboard recent orders: compact one-line records without horizontal scrolling. */
.recent-orders-list{display:grid;gap:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}
.recent-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:12px;align-items:center;padding:11px 13px;border-bottom:1px solid var(--line);font-size:13px}
.recent-order-row:last-child{border-bottom:0}
.recent-order-row:hover{background:#f8fbff}
.recent-order-main{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}
.recent-order-main b{flex:0 0 auto;color:var(--navy)}
.recent-order-main span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.recent-order-row>strong,.recent-order-row>.recent-payment,.recent-order-row>.status{white-space:nowrap}
.recent-payment{font-weight:800;color:#52627a}

/* Clear order-money breakdown so shipping is not mistaken for item price. */
.order-total-breakdown{max-width:440px;margin:16px 0 20px auto;border:1px solid var(--line);border-radius:13px;background:#f8fbff;padding:10px 14px}
.order-total-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 0;border-bottom:1px solid #e5edf8}
.order-total-breakdown>div:last-child{border-bottom:0}
.order-total-breakdown span{color:#62738f;font-size:13px}
.order-total-breakdown strong{white-space:nowrap;color:var(--navy)}
.order-total-breakdown .grand{padding-top:11px;font-size:15px}
.order-total-breakdown .grand span,.order-total-breakdown .grand strong{font-weight:900;color:#0b255c}

/* Selected seller review takes priority over the queue. */
.kyc-selected-mode .kyc-queue-panel{display:none}
.kyc-selected-toolbar{display:flex;justify-content:flex-start;margin-top:18px}

/* Logistics admin copy is oversight-oriented; seller execution stays in seller dashboard. */
.logistics-scope-note{margin:16px 0 22px}

@media(max-width:1000px){
  .qcm-admin-dashboard>.qcm-admin-sidebar{
    position:sticky;
    top:0;
    z-index:45;
    width:100%;
    height:auto;
    max-height:none;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
  }
}
@media(max-width:720px){
  .recent-order-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:12px}
  .recent-order-main{grid-column:1/-1}
  .recent-order-row>strong{justify-self:start}
  .recent-order-row>.recent-payment,.recent-order-row>.status{justify-self:end}
  .order-total-breakdown{max-width:none;margin-left:0}
}

/* v4.3.1 Hotfix 14a - Recent Orders desktop column alignment */
@media(min-width:721px){
  .recent-order-row{
    grid-template-columns:minmax(0,1fr) 96px 60px 88px;
    column-gap:10px;
  }
  .recent-order-row>strong{
    justify-self:end;
    width:96px;
    text-align:right;
  }
  .recent-order-row>.recent-payment{
    justify-self:center;
    width:60px;
    text-align:center;
  }
  .recent-order-row>.status{
    justify-self:end;
    width:88px;
    text-align:center;
  }
}

/* v4.3.1 Hotfix 16 - Seller panel consistency pass */
.qcm-seller-dashboard>.qcm-seller-sidebar{
  position:sticky;
  top:0;
  align-self:start;
  height:100vh;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.qcm-seller-dashboard>.dashmain{min-width:0;min-height:100vh}
.qcm-seller-dashboard .seller-flash{width:100%;margin:0 0 18px}
.qcm-seller-dashboard .dashboard-account{position:relative;z-index:2}
.qcm-seller-dashboard .section.soft,.qcm-seller-dashboard .section{padding:0;background:transparent}
.qcm-seller-dashboard .section>.container,.qcm-seller-dashboard .section.soft>.container{width:100%;max-width:none;margin:0}

/* Products: catalogue list first, full width; editor follows below. */
.seller-products-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.seller-products-list{order:-1;min-width:0}
.seller-products-head{margin-bottom:14px}
.seller-products-head h3{margin:0 0 3px}
.seller-products-table{min-width:760px}
.seller-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.seller-row-actions form{margin:0}
.seller-row-actions .btn{min-width:70px;height:34px;padding:7px 11px;line-height:1}
.seller-product-editor{max-width:980px}

/* Seller order controls keep fulfilment and manual payment state separate. */
.seller-order-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 20px}
.seller-control-form,.seller-payhere-lock{border:1px solid var(--line);border-radius:12px;background:#f8fbff;padding:14px}
.seller-control-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.seller-control-form label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#52627a}
.seller-control-form select{min-width:0}
.seller-control-form small{grid-column:1/-1;color:var(--muted)}
.seller-payhere-lock{display:flex;flex-direction:column;gap:5px}
.seller-payhere-lock span{color:var(--muted);font-size:13px;line-height:1.5}

.seller-payment-empty{display:grid;gap:7px;text-align:center;padding:26px 16px;color:#5f718e}
.seller-payment-empty b{font-size:15px;color:var(--navy)}
.seller-payment-empty span{max-width:620px;margin:auto;line-height:1.55}

@media(max-width:1000px){
  .qcm-seller-dashboard>.qcm-seller-sidebar{
    position:sticky;
    top:0;
    z-index:45;
    width:100%;
    height:auto;
    max-height:none;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
  }
}
@media(max-width:760px){
  .seller-order-controls{grid-template-columns:1fr}
  .seller-control-form{grid-template-columns:1fr}
  .seller-control-form small{grid-column:auto}
  .seller-products-head{align-items:flex-start}
}
.seller-courier-note{margin:0 0 18px}

/* v4.3.1 Hotfix 17 - approved seller products workflow + global seller panel polish */
@media(min-width:1001px){
  .qcm-seller-dashboard{display:block;min-height:100vh;background:#f5f8fc}
  .qcm-seller-dashboard>.qcm-seller-sidebar{
    position:fixed !important;left:0;top:0;bottom:0;z-index:60;
    width:240px;height:100vh !important;max-height:100vh;
    overflow-y:auto !important;overflow-x:hidden !important;
    align-self:auto;padding-bottom:28px;
  }
  .qcm-seller-dashboard>.dashmain{
    margin-left:240px;width:calc(100% - 240px);min-height:100vh;
  }
}
.qcm-seller-sidebar .qicon{width:18px;height:18px;margin-right:8px;vertical-align:-4px}
.qcm-seller-sidebar>a{display:flex;align-items:center}
.qcm-seller-sidebar .seller-product-subnav{margin:-1px 0 7px 35px;padding-left:10px;border-left:1px solid rgba(255,255,255,.16)}
.qcm-seller-sidebar .seller-product-subnav a{display:block;padding:7px 9px;margin:2px 0;font-size:12px;color:#9fb0ca;border-radius:7px}
.qcm-seller-sidebar .seller-product-subnav a:hover,.qcm-seller-sidebar .seller-product-subnav a.active{background:rgba(255,255,255,.08);color:#fff}

/* Product catalogue page */
.seller-products-page-head{margin-bottom:18px}
.seller-products-list-only{padding:0;overflow:hidden}
.seller-products-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid var(--line);background:#f9fbff}
.seller-products-summary>div{padding:15px 18px;border-right:1px solid var(--line)}
.seller-products-summary>div:last-child{border-right:0}
.seller-products-summary b{display:block;font-size:20px;color:var(--navy)}
.seller-products-summary span{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.seller-products-list-only .tablewrap{border:0;border-radius:0}
.seller-products-list-only .table{min-width:820px}
.seller-product-cell{display:flex;align-items:center;gap:11px;min-width:230px}
.seller-product-cell img{width:44px;height:44px;object-fit:cover;border-radius:9px;border:1px solid var(--line);background:#fff;flex:0 0 auto}
.seller-product-cell div{min-width:0}
.seller-product-cell b{display:block;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.seller-product-cell span{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.seller-product-empty{display:grid;justify-items:center;gap:8px;padding:34px 20px;color:var(--muted)}
.seller-product-empty b{font-size:17px;color:var(--navy)}
.seller-row-actions{gap:9px !important}
.seller-row-actions .btn{min-width:72px;border-radius:8px}

/* Approved dedicated Add/Edit Product editor */
.seller-product-breadcrumb{display:flex;align-items:center;gap:8px;margin:2px 0 8px;color:#7485a0;font-size:13px}
.seller-product-breadcrumb a{color:#4770ad}
.seller-editor-head{margin-bottom:16px}
.seller-editor-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin-bottom:18px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 7px 22px rgba(30,60,110,.04)}
.seller-editor-steps a{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;padding:15px 14px;border-right:1px solid var(--line);color:#506583;min-width:0}
.seller-editor-steps a:last-child{border-right:0}
.seller-editor-steps a>span{grid-row:1/3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef3fb;color:#173d7b;font-weight:900}
.seller-editor-steps a:first-child>span{background:var(--blue);color:#fff}
.seller-editor-steps b{font-size:13px;color:var(--navy);white-space:nowrap}
.seller-editor-steps small{font-size:10px;color:#8391a7;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seller-product-form{display:grid;gap:16px;max-width:none}
.seller-editor-card{padding:20px 22px;scroll-margin-top:18px}
.seller-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.seller-card-heading h3{margin:0 0 4px;color:var(--navy);font-size:18px}
.seller-card-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.seller-card-heading>span{background:#eef5ff;color:#3267b5;border-radius:8px;padding:7px 9px;font-size:11px;white-space:nowrap}
.seller-product-form .formgrid{gap:15px 14px}
.seller-product-form .field{min-width:0}
.seller-product-form input,.seller-product-form select,.seller-product-form textarea{min-width:0}
.seller-large-textarea{min-height:170px !important}
.seller-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.seller-upload-box{display:grid;gap:8px;padding:18px;border:1px dashed #a9c4eb;border-radius:12px;background:#fbfdff;min-width:0}
.seller-upload-box label{font-size:13px;font-weight:800;color:var(--navy)}
.seller-upload-box input{background:#fff}
.seller-upload-box span{font-size:12px;color:#536b90}
.seller-upload-box small{font-size:11px;color:#8795a9;line-height:1.45}
.seller-recommended-box{margin:0 0 16px}
.seller-inline-check{display:flex !important;align-items:center;gap:8px;font-weight:700 !important}
.seller-inline-check input{width:auto !important}
.seller-editor-actions{display:flex;justify-content:space-between;align-items:center;padding:2px 0 10px}
.seller-editor-actions .btn{min-width:130px}

/* Orders: two equal controls and compact history */
.seller-order-controls{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important;align-items:stretch}
.seller-control-form,.seller-payhere-lock{min-width:0;padding:16px !important;border:1px solid #dce6f3 !important;background:#fbfdff !important;border-radius:13px !important}
.seller-control-form{display:block !important}
.seller-control-form label{display:grid !important;gap:7px;font-size:12px;font-weight:800;color:#52627a}
.seller-control-form select{width:100%;min-width:0}
.seller-control-form .btn{margin-top:10px;width:auto;min-width:132px}
.seller-control-form small{display:block;margin-top:8px;color:var(--muted)}
.seller-history-card{margin-top:18px;max-width:760px;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
.seller-history-card h4{margin:0;padding:13px 15px;background:#f7f9fc;border-bottom:1px solid var(--line);color:var(--navy)}
.seller-history-card .history{display:block}
.seller-history-card .history>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 15px;border-bottom:1px solid #edf1f7}
.seller-history-card .history>div:last-child{border-bottom:0}
.seller-history-card .history b{font-size:13px;color:#243b63}
.seller-history-card .history span{font-size:12px;color:#7c8da7;white-space:nowrap}
.seller-history-card .history>p{padding:12px 15px;margin:0}

/* Shipping rules: compact full-width rates table below the form */
.seller-shipping-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.seller-shipping-layout>.panel:first-child{max-width:760px}
.seller-shipping-layout>.panel:last-child{min-width:0}
.seller-shipping-layout .table td,.seller-shipping-layout .table th{vertical-align:middle}
.seller-shipping-layout .seller-row-actions{justify-content:flex-end}
.seller-shipping-layout .seller-row-actions form{display:block}
.seller-shipping-layout .seller-row-actions .btn{height:32px;padding:6px 10px}

/* Growth form: prevent form controls spilling into promotion history. */
.seller-growth-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start}
.seller-growth-grid>.panel{min-width:0;overflow:hidden}
.seller-growth-form .formgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.seller-growth-form .field,.seller-growth-form input,.seller-growth-form select{min-width:0;max-width:100%}
.seller-growth-form .span2{grid-column:1/-1}

/* Courier create form: order/tracking and remaining fields in clean two-column rows. */
.seller-shipment-create{max-width:980px}
.seller-shipment-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.seller-shipment-form-grid .field{min-width:0}
.seller-shipment-form-grid input,.seller-shipment-form-grid select,.seller-shipment-form-grid textarea{min-width:0;max-width:100%}

@media(max-width:1200px) and (min-width:1001px){
  .seller-editor-steps{grid-template-columns:repeat(5,minmax(120px,1fr));overflow-x:auto}
  .seller-growth-grid{grid-template-columns:1fr}
}
@media(max-width:1000px){
  .qcm-seller-dashboard{display:block}
  .qcm-seller-dashboard>.qcm-seller-sidebar{
    position:sticky !important;top:0;left:auto;bottom:auto;z-index:55;
    width:100%;height:auto !important;max-height:none;overflow-x:auto !important;overflow-y:hidden !important;
    display:flex;align-items:center;padding:10px;
  }
  .qcm-seller-dashboard>.qcm-seller-sidebar>a{flex:0 0 auto;white-space:nowrap}
  .qcm-seller-sidebar .seller-product-subnav{display:flex;flex:0 0 auto;margin:0 6px;padding:0;border-left:0}
  .qcm-seller-dashboard>.dashmain{margin-left:0;width:100%}
  .seller-growth-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .seller-products-summary{grid-template-columns:1fr 1fr}
  .seller-products-summary>div:nth-child(2){border-right:0}
  .seller-products-summary>div:nth-child(3){grid-column:1/-1;border-top:1px solid var(--line);border-right:0}
  .seller-editor-head{align-items:flex-start;flex-direction:column}
  .seller-editor-steps{display:flex;overflow-x:auto}
  .seller-editor-steps a{min-width:150px;flex:0 0 auto}
  .seller-card-heading{display:block}
  .seller-card-heading>span{display:inline-block;margin-top:9px}
  .seller-upload-grid,.seller-order-controls,.seller-shipment-form-grid{grid-template-columns:1fr !important}
  .seller-product-form .formgrid,.seller-growth-form .formgrid{grid-template-columns:1fr}
  .seller-product-form .span2,.seller-growth-form .span2,.seller-shipment-form-grid .span2{grid-column:auto}
  .seller-editor-actions{gap:10px}
  .seller-editor-actions .btn{flex:1;min-width:0}
  .seller-history-card{max-width:none}
}


/* v4.3.1 Hotfix 18 - seller workflow refinements + footer repair */
/* Orders: three equal columns - order status, payment status, history */
.seller-order-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;margin:18px 0 20px}
.seller-order-overview-grid>.seller-control-form,.seller-order-overview-grid>.seller-payhere-lock,.seller-order-overview-grid>.seller-history-card{margin:0;max-width:none;min-width:0;height:100%}
.seller-order-overview-grid .seller-history-card{border:1px solid #dce6f3;border-radius:13px;background:#fff;overflow:hidden}
.seller-order-overview-grid .seller-history-card .history{max-height:230px;overflow:auto}
.seller-order-overview-grid .seller-payhere-lock strong{font-size:18px;color:var(--navy);margin-top:4px}

/* Shipping: rule editor + current rates side-by-side. */
.seller-shipping-layout{grid-template-columns:minmax(320px,.85fr) minmax(430px,1.15fr) !important;gap:20px !important;align-items:start}
.seller-shipping-layout>.panel:first-child{max-width:none !important}
.seller-rate-list{display:grid;gap:10px;margin-top:12px}
.seller-rate-row{display:grid;grid-template-columns:minmax(130px,1.2fr) minmax(95px,.7fr) minmax(115px,.8fr) auto;gap:12px;align-items:center;padding:12px 13px;border:1px solid #e3eaf5;border-radius:11px;background:#fbfdff}
.seller-rate-row>div{min-width:0}
.seller-rate-row small{display:block;margin-bottom:3px;color:#7c8da7;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.seller-rate-row b,.seller-rate-row span{display:block;color:#243b63;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seller-rate-row .seller-row-actions{justify-content:flex-end}
.seller-rate-empty{padding:20px;text-align:center;color:var(--muted);border:1px dashed #ccd7e7;border-radius:11px;background:#fbfdff}

/* Analytics: responsive lists with no horizontal scrolling. */
.seller-analytics-performance{align-items:start}
.seller-performance-panel{min-width:0;overflow:hidden}
.seller-performance-list{display:grid;gap:8px}
.seller-performance-head,.seller-performance-row{display:grid;grid-template-columns:minmax(160px,1.6fr) 64px 70px minmax(110px,.9fr);gap:10px;align-items:center}
.seller-performance-head{padding:0 12px 8px;color:#7c8da7;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.seller-performance-row{padding:12px;border:1px solid #e5ebf4;border-radius:11px;background:#fbfdff}
.seller-performance-row>div{min-width:0}
.seller-performance-row>div>small{display:none;color:#7c8da7;font-size:10px;font-weight:700;text-transform:uppercase}
.seller-performance-row b{display:block;color:#243b63;font-size:13px;white-space:normal;overflow-wrap:anywhere}
.seller-performance-name small{display:block !important;margin-top:3px;color:#7a8ba5 !important;font-size:11px !important;text-transform:none !important;font-weight:500 !important}
.seller-performance-empty{padding:20px;text-align:center;color:var(--muted)}

/* Courier summary cards use the entire available row. */
.seller-shipment-stats{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
.seller-shipment-stats .stat{min-width:0}

/* Seller dashboard footer must respect the fixed 240px seller sidebar. */
@media(min-width:1001px){
  .seller-dashboard-footer{margin-left:240px;width:calc(100% - 240px)}
  .seller-dashboard-footer .container{width:min(1180px,92%)}
}
@media(max-width:1000px){
  .seller-dashboard-footer{margin-left:0;width:100%}
}

@media(max-width:1180px) and (min-width:761px){
  .seller-shipping-layout{grid-template-columns:1fr !important}
  .seller-rate-row{grid-template-columns:minmax(140px,1.2fr) 100px 120px auto}
  .seller-order-overview-grid{grid-template-columns:1fr 1fr}
  .seller-order-overview-grid>.seller-history-card{grid-column:1/-1}
  .seller-analytics-performance{grid-template-columns:1fr !important}
}
@media(max-width:760px){
  .seller-order-overview-grid{grid-template-columns:1fr}
  .seller-order-overview-grid>.seller-history-card{grid-column:auto}
  .seller-shipping-layout{grid-template-columns:1fr !important}
  .seller-rate-row{grid-template-columns:1fr 1fr}
  .seller-rate-row .seller-row-actions{grid-column:1/-1;justify-content:flex-start}
  .seller-performance-head{display:none}
  .seller-performance-row{grid-template-columns:1fr 1fr 1fr;gap:10px}
  .seller-performance-row .seller-performance-name{grid-column:1/-1;padding-bottom:7px;border-bottom:1px solid #edf1f7}
  .seller-performance-row>div>small{display:block;margin-bottom:3px}
  .seller-shipment-stats{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px}
  .seller-shipment-stats .stat{padding:12px 8px;text-align:center}
  .seller-shipment-stats .stat b{font-size:18px}
}
\n\n/* v4.3.1 Hotfix 19 - seller orders, shipping and analytics refinements */
/* Order financial summary: Payment / Marketplace fee / Your earnings always share one desktop row. */
.seller-order-financials{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important}
.seller-order-financials>div{min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:74px}
.seller-order-financials b{font-size:15px;overflow-wrap:anywhere}

/* Shipping rule editor uses the same compact card-row visual language as Current Rates. */
.seller-shipping-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.seller-shipping-panel-head h3{margin:0 0 4px}
.seller-shipping-panel-head p{margin:0;font-size:12px}
.seller-rule-form-list{display:grid;gap:10px;margin-top:12px}
.seller-rule-form-row{border:1px solid #e3eaf5;border-radius:11px;background:#fbfdff;padding:12px 13px;min-width:0}
.seller-rule-form-row>div{min-width:0}
.seller-rule-form-row small{display:block;margin-bottom:6px;color:#7c8da7;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.seller-rule-form-row input,.seller-rule-form-row select{width:100%;min-width:0;background:#fff}
.seller-rule-form-row-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.seller-rule-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.seller-rule-form-actions>div{display:flex;align-items:center;gap:8px}
.seller-rule-enabled{display:flex;align-items:center;gap:8px;color:#243b63;font-size:13px;font-weight:800}
.seller-rule-enabled input{width:auto !important;margin:0}

/* Analytics: Top Products and Category Performance use equal-height cards and matching internal spacing. */
.seller-analytics-performance-balanced{align-items:stretch !important}
.seller-analytics-performance-balanced>.seller-performance-panel{height:100%;display:flex;flex-direction:column}
.seller-analytics-performance-balanced .sectionhead{min-height:58px;align-items:flex-start;margin-bottom:14px}
.seller-analytics-performance-balanced .seller-performance-list{flex:1;align-content:start}
.seller-analytics-performance-balanced .seller-performance-row{min-height:58px}
.seller-analytics-performance-balanced .seller-performance-name{min-width:0}

@media(max-width:900px){
  .seller-order-financials{grid-template-columns:1fr !important}
}
@media(max-width:760px){
  .seller-rule-form-row-pair{grid-template-columns:1fr}
  .seller-rule-form-actions{align-items:flex-start;flex-direction:column}
}
\n\n/* v4.3.1 Hotfix 19a - deterministic order summary + compact shipping editor */
/* Order totals: explicit component, isolated from the legacy .orderfacts rules. */
.seller-money-summary{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important;margin:18px 0 20px !important;width:100% !important}
.seller-money-card{min-width:0 !important;min-height:78px !important;padding:14px 16px !important;border:1px solid #e1e8f3 !important;border-radius:12px !important;background:#f8fbff !important;display:flex !important;flex-direction:column !important;justify-content:center !important}
.seller-money-card span{display:block !important;color:#6b7d99 !important;font-size:11px !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.04em !important;margin-bottom:5px !important}
.seller-money-card b{display:block !important;color:#17345f !important;font-size:15px !important;line-height:1.3 !important;overflow-wrap:anywhere !important}

/* Shipping rule editor: one compact row, visually parallel to Current Rates. */
.seller-shipping-rule-panel .seller-shipping-rule-form{margin:0 !important}
.seller-rule-entry-row{display:grid !important;grid-template-columns:minmax(150px,1.35fr) 82px 82px 112px minmax(110px,.9fr) auto !important;gap:10px !important;align-items:end !important;padding:12px 13px !important;border:1px solid #e3eaf5 !important;border-radius:11px !important;background:#fbfdff !important;margin-top:12px !important}
.seller-rule-entry-field{min-width:0 !important}
.seller-rule-entry-field small{display:block !important;margin-bottom:5px !important;color:#7c8da7 !important;font-size:10px !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.04em !important;white-space:nowrap !important}
.seller-rule-entry-field input,.seller-rule-entry-field select{width:100% !important;min-width:0 !important;height:38px !important;padding:8px 9px !important;background:#fff !important}
.seller-rule-entry-actions{display:flex !important;align-items:flex-end !important;gap:8px !important;min-width:max-content !important;height:38px !important}
.seller-rule-entry-actions>.seller-rule-enabled{height:38px !important;display:flex !important;align-items:center !important;padding:0 4px !important;white-space:nowrap !important}
.seller-rule-entry-actions>div{display:flex !important;align-items:center !important;gap:6px !important}
.seller-rule-entry-actions .btn{height:38px !important;padding:8px 11px !important;white-space:nowrap !important}

@media(max-width:1180px) and (min-width:761px){
  .seller-rule-entry-row{grid-template-columns:minmax(180px,1.4fr) 90px 90px 115px !important}
  .seller-rule-entry-free{grid-column:1/3 !important}
  .seller-rule-entry-actions{grid-column:3/5 !important;justify-content:flex-end !important}
}
@media(max-width:760px){
  .seller-money-summary{grid-template-columns:1fr !important}
  .seller-rule-entry-row{grid-template-columns:1fr 1fr !important}
  .seller-rule-entry-name,.seller-rule-entry-free,.seller-rule-entry-actions{grid-column:1/-1 !important}
  .seller-rule-entry-actions{height:auto !important;justify-content:space-between !important;align-items:center !important}
}
\n\n/* v4.3.1 Hotfix 19b - final Orders 3-column summary + balanced Shipping cards */
/* Orders: dedicated, non-legacy component. Always one row of three equal columns on normal seller desktop widths. */
.seller-money-summary-v19b{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  width:100% !important;
  margin:18px 0 20px !important;
  align-items:stretch !important;
}
.seller-money-card-v19b{
  min-width:0 !important;
  min-height:82px !important;
  padding:14px 16px !important;
  border:1px solid #e1e8f3 !important;
  border-radius:12px !important;
  background:#f8fbff !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}
.seller-money-card-v19b span{
  display:block !important;
  margin:0 0 5px !important;
  color:#6b7d99 !important;
  font-size:11px !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
}
.seller-money-card-v19b b{
  display:block !important;
  margin:0 !important;
  color:#17345f !important;
  font-size:15px !important;
  line-height:1.3 !important;
  overflow-wrap:anywhere !important;
}

/* Shipping: equal-width/equal-height panels. The editor uses a compact 4-column first row so Rate never wraps. */
.seller-shipping-layout{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
  align-items:stretch !important;
}
.seller-shipping-layout>.panel{
  width:100% !important;
  max-width:none !important;
  height:100% !important;
  min-width:0 !important;
}
.seller-shipping-rule-panel,.seller-current-rates-panel{
  display:flex !important;
  flex-direction:column !important;
}
.seller-shipping-rule-panel .seller-shipping-rule-form{flex:1 !important;display:flex !important;flex-direction:column !important}
.seller-rule-entry-row{
  flex:1 !important;
  display:grid !important;
  grid-template-columns:minmax(140px,1.45fr) minmax(72px,.72fr) minmax(72px,.72fr) minmax(100px,.95fr) !important;
  grid-template-areas:
    "name min max rate"
    "free free actions actions" !important;
  gap:12px !important;
  align-content:start !important;
  align-items:end !important;
  padding:14px !important;
}
.seller-rule-entry-name{grid-area:name !important}
.seller-rule-entry-row>.seller-rule-entry-field:nth-of-type(2){grid-area:min !important}
.seller-rule-entry-row>.seller-rule-entry-field:nth-of-type(3){grid-area:max !important}
.seller-rule-entry-rate{grid-area:rate !important}
.seller-rule-entry-free{grid-area:free !important}
.seller-rule-entry-actions{
  grid-area:actions !important;
  grid-column:auto !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  align-self:end !important;
  min-width:0 !important;
  height:38px !important;
}
.seller-rule-entry-field input,.seller-rule-entry-field select{min-width:0 !important}
.seller-current-rates-panel .seller-rate-list{flex:1 !important}

@media(max-width:980px){
  .seller-shipping-layout{grid-template-columns:1fr !important}
  .seller-shipping-layout>.panel{height:auto !important}
}
@media(max-width:680px){
  .seller-money-summary-v19b{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important}
  .seller-money-card-v19b{padding:10px 8px !important;min-height:72px !important}
  .seller-money-card-v19b span{font-size:9px !important}
  .seller-money-card-v19b b{font-size:12px !important}
  .seller-rule-entry-row{
    grid-template-columns:1fr 1fr !important;
    grid-template-areas:
      "name name"
      "min max"
      "rate free"
      "actions actions" !important;
  }
  .seller-rule-entry-actions{justify-content:space-between !important;height:auto !important}
}
\n\n/* v4.3.1 Hotfix 19c - rebuilt seller Orders money strip + Shipping editor */
/* Orders: explicit flex strip to guarantee one desktop row of three equal columns. */
.seller-money-strip-v19c{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  width:100% !important;
  margin:18px 0 22px !important;
}
.seller-money-strip-v19c>.seller-money-cell-v19c{
  flex:1 1 0 !important;
  width:33.333% !important;
  min-width:0 !important;
  min-height:86px !important;
  padding:15px 17px !important;
  border:1px solid #dfe7f3 !important;
  border-radius:12px !important;
  background:#f8fbff !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}
.seller-money-cell-v19c span{display:block !important;margin:0 0 6px !important;color:#7586a0 !important;font-size:11px !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.04em !important}
.seller-money-cell-v19c b{display:block !important;margin:0 !important;color:#15345f !important;font-size:15px !important;line-height:1.35 !important}

/* Shipping: two visually balanced cards, with an editor that echoes Current Rates rather than a cramped form strip. */
.seller-shipping-layout-v19c{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
  align-items:stretch !important;
}
.seller-shipping-layout-v19c>.seller-shipping-card-v19c{
  min-width:0 !important;
  min-height:332px !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  padding:20px !important;
}
.seller-shipping-panel-head-v19c{margin-bottom:14px !important}
.seller-shipping-panel-head-v19c h3{margin:0 0 5px !important;font-size:18px !important}
.seller-shipping-panel-head-v19c p{margin:0 !important;font-size:13px !important;line-height:1.45 !important}
.seller-shipping-form-v19c{display:flex !important;flex:1 !important;margin:0 !important}
.seller-shipping-editor-card-v19c{
  flex:1 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  padding:15px !important;
  border:1px solid #dfe7f3 !important;
  border-radius:12px !important;
  background:#fbfdff !important;
}
.seller-shipping-editor-top-v19c{
  display:grid !important;
  grid-template-columns:minmax(150px,1.2fr) minmax(175px,1.25fr) minmax(105px,.72fr) !important;
  gap:12px !important;
  align-items:end !important;
}
.seller-shipping-field-v19c{display:block !important;min-width:0 !important;margin:0 !important}
.seller-shipping-field-v19c small,.seller-rate-row-v19c small{
  display:block !important;
  margin:0 0 6px !important;
  color:#7b8ca5 !important;
  font-size:10px !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
}
.seller-shipping-field-v19c input,.seller-shipping-field-v19c select{
  width:100% !important;
  min-width:0 !important;
  height:40px !important;
  padding:8px 10px !important;
  background:#fff !important;
}
.seller-weight-pair-v19c{display:grid !important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;gap:7px !important;align-items:center !important}
.seller-weight-pair-v19c>span{color:#8795aa !important;font-size:12px !important;text-align:center !important}
.seller-shipping-editor-bottom-v19c{
  display:grid !important;
  grid-template-columns:minmax(160px,1fr) auto auto !important;
  gap:12px !important;
  align-items:end !important;
  padding-top:16px !important;
  margin-top:16px !important;
  border-top:1px solid #e8eef7 !important;
}
.seller-enabled-v19c{height:40px !important;display:flex !important;align-items:center !important;gap:8px !important;padding:0 8px !important;color:#243b63 !important;font-size:13px !important;font-weight:800 !important;white-space:nowrap !important}
.seller-enabled-v19c input{width:auto !important;margin:0 !important}
.seller-shipping-actions-v19c{height:40px !important;display:flex !important;align-items:center !important;gap:8px !important;white-space:nowrap !important}
.seller-shipping-actions-v19c .btn{height:40px !important;padding:8px 13px !important}
.seller-shipping-rates-v19c .seller-rate-list-v19c{display:grid !important;gap:10px !important;flex:1 !important;align-content:start !important}
.seller-rate-row-v19c{
  display:grid !important;
  grid-template-columns:minmax(120px,1.05fr) minmax(110px,.8fr) minmax(100px,.72fr) auto !important;
  gap:12px !important;
  align-items:center !important;
  padding:13px 14px !important;
  border:1px solid #dfe7f3 !important;
  border-radius:12px !important;
  background:#fbfdff !important;
}
.seller-rate-row-v19c>div{min-width:0 !important}
.seller-rate-row-v19c b,.seller-rate-row-v19c span{display:block !important;color:#243b63 !important;font-size:13px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
.seller-row-actions-v19c{display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:8px !important}
.seller-row-actions-v19c form{display:block !important;margin:0 !important}
.seller-row-actions-v19c .btn{height:34px !important;padding:6px 11px !important}
.seller-rate-empty-v19c{display:grid !important;place-items:center !important;min-height:110px !important;border:1px dashed #d8e2f0 !important;border-radius:12px !important;color:#71839f !important;background:#fbfdff !important;text-align:center !important;padding:18px !important}

@media(max-width:1100px){
  .seller-shipping-layout-v19c{grid-template-columns:1fr !important}
  .seller-shipping-layout-v19c>.seller-shipping-card-v19c{min-height:0 !important}
}
@media(max-width:760px){
  .seller-money-strip-v19c{flex-direction:column !important}
  .seller-money-strip-v19c>.seller-money-cell-v19c{width:100% !important}
  .seller-shipping-editor-top-v19c{grid-template-columns:1fr !important}
  .seller-shipping-editor-bottom-v19c{grid-template-columns:1fr !important}
  .seller-enabled-v19c,.seller-shipping-actions-v19c{height:auto !important;padding-left:0 !important}
  .seller-rate-row-v19c{grid-template-columns:1fr 1fr !important}
  .seller-row-actions-v19c{grid-column:1/-1 !important;justify-content:flex-start !important}
}


/* v4.3.1 Hotfix 19e - compact Current Rates row actions */
@media(min-width:761px){
  .seller-shipping-rates-v19c .seller-rate-row-v19c{
    grid-template-columns:minmax(105px,1.05fr) minmax(112px,.95fr) minmax(92px,.72fr) 122px !important;
    gap:10px !important;
    padding:11px 12px !important;
  }
  .seller-shipping-rates-v19c .seller-rate-row-v19c>div:nth-child(3){
    text-align:right !important;
    padding-right:8px !important;
  }
  .seller-shipping-rates-v19c .seller-rate-row-v19c>div:nth-child(3) small,
  .seller-shipping-rates-v19c .seller-rate-row-v19c>div:nth-child(3) span{
    text-align:right !important;
  }
  .seller-shipping-rates-v19c .seller-row-actions-v19c{
    width:122px !important;
    min-width:122px !important;
    gap:6px !important;
    justify-content:flex-end !important;
  }
  .seller-shipping-rates-v19c .seller-row-actions-v19c .btn{
    height:30px !important;
    min-height:30px !important;
    padding:4px 9px !important;
    border-radius:8px !important;
    font-size:12px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  .seller-shipping-rates-v19c .seller-row-actions-v19c>a.btn{
    min-width:48px !important;
  }
  .seller-shipping-rates-v19c .seller-row-actions-v19c form .btn{
    min-width:62px !important;
  }
}
\n\n/* v4.3.1 Hotfix 20 - Store Settings two-column cards + shipment width balance */
.seller-store-form{display:grid;gap:16px}
.seller-store-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.seller-store-stack{display:grid;gap:18px;min-width:0}
.seller-store-card{padding:20px 22px;min-width:0}
.seller-store-card .seller-card-heading{margin-bottom:16px}
.seller-store-card .formgrid{gap:14px}
.seller-store-card input,.seller-store-card select,.seller-store-card textarea{min-width:0;max-width:100%}
.seller-store-card textarea{min-height:118px}
.seller-store-policy-text{min-height:180px !important}
.seller-store-seo-checks{margin-top:16px}
.seller-store-imap-note{margin:-4px 0 16px;line-height:1.55}
.seller-store-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:2px 0 8px}
.seller-shipment-create{max-width:none !important;width:100% !important}
@media(max-width:980px){.seller-store-columns{grid-template-columns:1fr}}
@media(max-width:700px){.seller-store-card{padding:17px}.seller-store-actions{justify-content:stretch;flex-direction:column}.seller-store-actions .btn{width:100%}}

/* v4.3.1 Hotfix 20b - balanced Store Settings flow */
.seller-store-payout-full,.seller-store-imap-full{width:100%;margin:0}
.seller-payout-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.seller-payout-grid .seller-payout-bank textarea{min-height:94px}
.seller-imap-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important}
.seller-imap-grid>.span2{grid-column:1/-1 !important}
.seller-store-actionbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 8px;box-shadow:0 1px 0 rgba(18,50,90,.02)}
.seller-store-actionbar .btn{min-width:128px;margin:0}
.seller-store-actionbar .btn.ghost{min-width:230px}
@media(max-width:1080px){.seller-payout-grid{grid-template-columns:1fr 1fr}.seller-payout-bank{grid-column:1/-1}.seller-imap-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:700px){.seller-payout-grid,.seller-imap-grid{grid-template-columns:1fr !important}.seller-payout-bank,.seller-imap-grid>.span2{grid-column:auto !important}.seller-store-actionbar{flex-direction:column;align-items:stretch}.seller-store-actionbar .btn,.seller-store-actionbar .btn.ghost{width:100%;min-width:0}}


/* v4.3.1 Hotfix 21 - seller courier ownership, automation alignment, mobile responsiveness */
.seller-automation-head{align-items:flex-start}
.seller-automation-head>div:first-child{min-width:0;flex:1}
.seller-automation-actions{justify-content:flex-end;align-items:center;flex:0 0 auto}
.seller-automation-actions form{margin:0;display:block !important}
.seller-automation-actions .btn{min-height:44px;white-space:nowrap}
.seller-courier-manager{margin:0 0 22px;align-items:start}
.seller-courier-manager>.panel{min-width:0;height:100%}
.seller-courier-form input{min-width:0;max-width:100%}
.seller-own-courier-list{display:grid;gap:10px}
.seller-own-courier-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #e3eaf5;border-radius:11px;background:#fbfdff;min-width:0}
.seller-own-courier-row>div{min-width:0}
.seller-own-courier-row b{display:block;color:#243b63;white-space:normal;overflow-wrap:anywhere}
.seller-own-courier-row span{display:block;margin-top:3px;color:#7c8da7;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.seller-own-courier-row form{margin:0;flex:0 0 auto}

@media(max-width:1000px){
  .qcm-seller-dashboard>.dashmain{padding:22px 18px !important;overflow-x:hidden}
  .qcm-seller-dashboard .dashboard-account{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
  .qcm-seller-dashboard .dashboard-account>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .qcm-seller-dashboard .dashhead{min-width:0}
  .qcm-seller-dashboard .panel,.qcm-seller-dashboard .stat{min-width:0}
  .qcm-seller-dashboard input,.qcm-seller-dashboard select,.qcm-seller-dashboard textarea{max-width:100%;min-width:0}
  .qcm-seller-dashboard .tablewrap{max-width:100%;-webkit-overflow-scrolling:touch}
}
@media(max-width:760px){
  .qcm-seller-dashboard>.qcm-seller-sidebar{padding:8px !important;gap:4px}
  .qcm-seller-dashboard>.qcm-seller-sidebar>a{padding:9px 10px;margin:0;font-size:13px}
  .qcm-seller-dashboard>.dashmain{padding:16px 12px !important}
  .qcm-seller-dashboard .dashboard-account{margin-bottom:18px}
  .qcm-seller-dashboard .dashboard-account .btn{padding:9px 13px;white-space:nowrap}
  .qcm-seller-dashboard .dashhead{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:18px}
  .qcm-seller-dashboard .dashhead>div{width:100%;min-width:0}
  .qcm-seller-dashboard .dashhead h1{font-size:24px;line-height:1.2;overflow-wrap:anywhere}
  .qcm-seller-dashboard .dashhead h2{overflow-wrap:anywhere}
  .qcm-seller-dashboard .dashhead .chips{width:100%;justify-content:flex-start}
  .qcm-seller-dashboard .dashhead .chips .btn,.qcm-seller-dashboard .dashhead .chips form{max-width:100%}
  .qcm-seller-dashboard .grid.two{grid-template-columns:1fr !important}
  .qcm-seller-dashboard .formgrid{grid-template-columns:1fr !important}
  .qcm-seller-dashboard .formgrid .span2{grid-column:auto !important}
  .qcm-seller-dashboard .statgrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px}
  .qcm-seller-dashboard .stat{padding:14px 12px}
  .qcm-seller-dashboard .stat b{font-size:20px;overflow-wrap:anywhere}
  .qcm-seller-dashboard .panel{padding:16px}
  .qcm-seller-dashboard .sectionhead{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:16px}
  .qcm-seller-dashboard .chips{max-width:100%}
  .seller-automation-actions{display:grid !important;grid-template-columns:1fr;gap:8px;width:100%}
  .seller-automation-actions>a,.seller-automation-actions form,.seller-automation-actions button{width:100% !important}
  .seller-automation-actions .btn{white-space:normal;text-align:center}
  .seller-courier-manager{grid-template-columns:1fr !important}
  .seller-own-courier-row{align-items:flex-start;flex-direction:column}
  .seller-own-courier-row form,.seller-own-courier-row .btn{width:100%}
  .seller-shipment-stats{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:480px){
  .qcm-seller-dashboard>.dashmain{padding:14px 10px !important}
  .qcm-seller-dashboard .statgrid:not(.seller-shipment-stats){grid-template-columns:1fr !important}
  .qcm-seller-dashboard .panel{padding:14px}
  .qcm-seller-dashboard .btn{max-width:100%}
  .seller-shipment-stats{grid-template-columns:1fr !important}
}


/* v4.3.1 Hotfix 22 - requested seller mobile stat grids, shipping actions, compact automation titles, seller mobile login */
.seller-mobile-entry-actions{display:none}
.automation-product-cell{width:240px;max-width:240px}
.automation-product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:220px;line-height:1.35;overflow-wrap:anywhere}
.automation-product-meta{display:block;max-width:220px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:760px){
  /* Products summary stays in one compact three-column row on seller mobile. */
  .qcm-seller-dashboard .seller-products-summary{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .qcm-seller-dashboard .seller-products-summary>div{grid-column:auto !important;padding:12px 8px !important;text-align:center;border-top:0 !important;border-right:1px solid var(--line) !important}
  .qcm-seller-dashboard .seller-products-summary>div:last-child{border-right:0 !important}
  .qcm-seller-dashboard .seller-products-summary b{font-size:18px;line-height:1.2}
  .qcm-seller-dashboard .seller-products-summary span{font-size:11px;line-height:1.25}

  /* Requested seller summary cards: two columns per row on mobile. Analytics has two 4-card groups, each becoming 2x2. */
  .qcm-seller-dashboard .seller-mobile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
  .qcm-seller-dashboard .seller-mobile-stat-grid .stat{min-width:0;min-height:82px;display:flex;flex-direction:column;justify-content:center}

  /* Current Rates actions sit on a clean right-aligned action rail instead of hanging on the left. */
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c{grid-column:1/-1 !important;width:100% !important;min-width:0 !important;justify-content:flex-end !important;padding-top:10px !important;margin-top:2px !important;border-top:1px solid #e8eef7 !important}
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c .btn{min-width:72px !important}

  .automation-product-cell{width:210px;max-width:210px}
  .automation-product-name,.automation-product-meta{max-width:190px}
}

@media(max-width:480px){
  /* Override Hotfix 21's generic one-column fallback only for the requested seller stat groups. */
  .qcm-seller-dashboard .seller-mobile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
  .qcm-seller-dashboard .seller-mobile-stat-grid .stat{padding:12px 9px !important;min-height:78px}
  .qcm-seller-dashboard .seller-mobile-stat-grid .stat b{font-size:17px !important;line-height:1.2;overflow-wrap:anywhere}
  .qcm-seller-dashboard .seller-mobile-stat-grid .stat span{font-size:10.5px;line-height:1.3}
  .qcm-seller-dashboard .seller-products-summary>div{padding:11px 5px !important}
  .qcm-seller-dashboard .seller-products-summary b{font-size:16px}
  .qcm-seller-dashboard .seller-products-summary span{font-size:10px}
}

@media(max-width:720px){
  /* Sell on QuezCorp: existing sellers get an immediately visible login path on mobile. */
  .seller-mobile-entry-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
  .seller-mobile-entry-actions .btn{width:100%;min-width:0;padding:11px 10px;text-align:center}
}
@media(max-width:380px){.seller-mobile-entry-actions{grid-template-columns:1fr}}

/* v4.3.1 Hotfix 23 - targeted seller mobile card grids and shipping actions */
@media(max-width:760px){
  /* Products: keep Total products / Active / Low stock in one three-column row. */
  .qcm-seller-dashboard .seller-products-list .seller-products-summary{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .qcm-seller-dashboard .seller-products-list .seller-products-summary>div{
    grid-column:auto !important;
    border-top:0 !important;
    border-right:1px solid var(--line) !important;
  }
  .qcm-seller-dashboard .seller-products-list .seller-products-summary>div:last-child{
    border-right:0 !important;
  }

  /* Dashboard/Finance/Analytics/Product feeds/Automation: four KPI cards = two columns x two rows. */
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  /* Shipping Current rates: Edit left, Delete right. */
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c{
    justify-content:space-between !important;
  }
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>a.btn{
    margin-right:auto !important;
  }
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>form{
    margin-left:auto !important;
  }
}
@media(max-width:480px){
  /* Beat the older generic one-column seller fallback without changing any other seller grids. */
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
}


/* v4.3.1 Hotfix 24 - seller mobile KPI visibility + shipping action balance */
@media(max-width:760px){
  /* The decorative desktop KPI icon was overlapping short mobile values (0, 1, On/Off).
     Remove it only in the requested seller mobile KPI groups so every real value remains visible. */
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat:before{
    display:none !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat{
    padding:14px 11px !important;
    min-height:82px !important;
    align-items:flex-start !important;
    text-align:left !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat b{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    position:relative !important;
    z-index:1 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat span{
    display:block !important;
    width:100% !important;
    margin-top:3px !important;
  }

  /* Shipping > Current rates: make Edit and Delete exactly the same footprint. */
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>a.btn,
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>form,
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>form .btn{
    width:84px !important;
    min-width:84px !important;
    max-width:84px !important;
  }
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>a.btn,
  .qcm-seller-dashboard .seller-shipping-rates-v19c .seller-row-actions-v19c>form .btn{
    height:34px !important;
    padding:6px 10px !important;
  }
}
@media(max-width:480px){
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat{
    padding:12px 9px !important;
    min-height:78px !important;
  }
}
@media(max-width:720px){
  /* The two desktop seller-choice cards duplicate the mobile Seller Login / Become a Seller actions. */
  .seller-mobile-entry-actions + .grid.two{
    display:none !important;
  }
}


/* v4.3.1 Hotfix 25 - restore compact seller KPI icons without covering mobile values */
@media(max-width:760px){
  /* Keep the original KPI icon language, but make the icon compact and reserve a dedicated left rail.
     This preserves both the icon and short values such as 0 / 1 / On / Off. */
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat:before{
    display:grid !important;
    width:24px !important;
    height:24px !important;
    left:10px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    border-radius:7px !important;
    font-size:14px !important;
    line-height:1 !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat{
    padding:12px 9px 12px 44px !important;
    min-height:82px !important;
    align-items:flex-start !important;
    text-align:left !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat b{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    position:relative !important;
    z-index:1 !important;
    visibility:visible !important;
    opacity:1 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat span{
    display:block !important;
    width:100% !important;
    margin-top:3px !important;
  }
}
@media(max-width:380px){
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat:before{
    width:21px !important;
    height:21px !important;
    left:8px !important;
    font-size:12px !important;
  }
  .qcm-seller-dashboard .grid.statgrid.seller-mobile-stat-grid .stat{
    padding-left:36px !important;
  }
}
