:root{--ink:#152019;--paper:#fbfaf7;--sand:#ebe6dc;--sage:#748873;--clay:#b36c4e;--muted:#6f746f}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.topbar{background:var(--ink);color:#e9eee9;font-size:.72rem;letter-spacing:.06em;padding:.5rem 0}.navbar{min-height:76px}.navbar-brand{letter-spacing:-.055em;font-size:1.35rem}.brand-mark{display:inline-grid;place-items:center;background:var(--sage);color:#fff;border-radius:50%;width:27px;height:27px;font-family:Georgia,serif;font-size:1rem;margin-right:.25rem}.nav-link{font-size:.88rem}.icon-link{color:var(--ink);text-decoration:none;font-size:.86rem}.cart-count{display:inline-grid;place-items:center;width:18px;height:18px;background:var(--clay);color:#fff;border-radius:50%;font-size:.62rem}.hero{background:linear-gradient(105deg,#e6e1d7 0%,#f5f2eb 52%,#d9e0d4 100%);min-height:550px;overflow:hidden}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;font-weight:700;color:var(--clay)}.hero h1{font-family:Georgia,serif;font-size:clamp(3.3rem,7vw,6.4rem);letter-spacing:-.07em;line-height:.91}.hero-art{height:100%;min-height:380px;position:relative}.orb{position:absolute;border-radius:50%}.orb.one{width:310px;height:310px;background:#b0c0ae;right:10%;top:9%}.orb.two{width:190px;height:190px;background:#cf9477;right:40%;bottom:9%}.product-cutout{position:absolute;z-index:2;width:230px;height:330px;right:29%;top:16%;border-radius:115px 115px 18px 18px;background:linear-gradient(120deg,#f9f2df,#bd9d6f);box-shadow:18px 18px 0 rgba(21,32,25,.12);transform:rotate(8deg)}.product-cutout:after{content:"";position:absolute;width:100px;height:50px;border:7px solid #d9c896;border-bottom:0;border-radius:80px 80px 0 0;left:61px;top:-40px}.section-heading{font-family:Georgia,serif;letter-spacing:-.045em;font-size:2.5rem}.category-card,.product-card{border:0;background:transparent}.category-image{height:210px;border-radius:3px;background:var(--sand);display:grid;place-items:center;font-size:3.2rem;transition:.25s}.category-card:hover .category-image{transform:translateY(-5px);background:#d8e0d4}.product-image{height:285px;border-radius:3px;background:#eee9e0;display:grid;place-items:center;font-size:4.5rem;position:relative;overflow:hidden}.product-image span{transition:.35s}.product-card:hover .product-image span{transform:scale(1.12)}.product-card a{text-decoration:none;color:inherit}.product-card h3{font-size:.96rem;margin:.8rem 0 .2rem}.price{font-weight:700;font-size:.92rem}.old-price{color:var(--muted);text-decoration:line-through;margin-left:.35rem;font-weight:400}.badge-soft{background:#e2eadf;color:#3e5b3f;font-size:.66rem;letter-spacing:.06em}.btn{border-radius:2px;font-weight:600}.btn-dark{background:var(--ink);border-color:var(--ink)}.btn-dark:hover{background:#2d4435;border-color:#2d4435}.feature{border-top:1px solid #dcd8cf;padding-top:1rem}.feature h5{font-size:.9rem}.feature p{font-size:.84rem;color:var(--muted)}.footer{background:var(--ink);color:#fff}.footer h6{font-size:.76rem;text-transform:uppercase;letter-spacing:.1em}.footer a{display:block;color:#c8d0c8;text-decoration:none;font-size:.84rem;margin:.35rem 0}.footer hr{border-color:#3a473d;margin:2.5rem 0 1rem}#backToTop{display:none;position:fixed;right:1rem;bottom:1rem;z-index:5}.dashboard-shell{background:#f5f3ee;min-height:100vh}.sidebar a{display:block;color:#b8c3b8;text-decoration:none;padding:.65rem .75rem;border-radius:4px;font-size:.88rem}.sidebar a.active,.sidebar a:hover{background:#2e4133;color:white}.dash-main{margin-left:245px;padding:2rem 2.5rem}.metric{background:white;border:1px solid #ece8df;border-radius:7px;padding:1.2rem}.metric .value{font-family:Georgia,serif;font-size:2rem;letter-spacing:-.06em}.metric .label{color:var(--muted);font-size:.76rem}.table-card{background:#fff;border:1px solid #ece8df;border-radius:7px}.status{font-size:.68rem;font-weight:700;letter-spacing:.04em;border-radius:20px;padding:.36rem .58rem;display:inline-block}.status.PENDING_PAYMENT,.status.PENDING_APPROVAL{background:#fff1d8;color:#8a5c00}.status.PAYMENT_CONFIRMED,.status.PROCESSING{background:#e1edff;color:#1f5796}.status.PACKED,.status.SHIPPED,.status.OUT_FOR_DELIVERY{background:#ede7fb;color:#6546a3}.status.DELIVERED,.status.ACTIVE{background:#e2f2e4;color:#27703b}.status.CANCELLED,.status.REJECTED,.status.SUSPENDED{background:#fbe5e5;color:#a53636}@media(max-width:991px){.hero{min-height:auto}.hero-art{min-height:310px}.sidebar{position:static;width:100%;min-height:auto}.dash-main{margin-left:0;padding:1.25rem}.sidebar nav{display:flex;overflow:auto;gap:.25rem}.sidebar a{white-space:nowrap}.sidebar .side-links{display:none}.topbar{font-size:.65rem}}
.sidebar{
    width:245px;
    background:var(--ink);
    color:#fff;
    height:100vh;
    position:fixed;
    top:0;
    left:0;
    padding:1.5rem;
    overflow-y:auto;
    overflow-x:hidden;
}
/* ===== Sokela marketplace refresh 2026-09-01 ===== */
:root{--sokela-green:#448d5b;--sokela-green-dark:#176b37;--sokela-cyan:#00c7cd;--sokela-red:#e51b2a;--sokela-deep-red:#6e0000;--sokela-bg:#f4f5f4;--sokela-line:#e5e7e5;--ink:#17351f;--paper:#f7f8f7;--sage:#448d5b;--clay:#e51b2a;--muted:#69736b}
body{background:var(--sokela-bg);color:#1f2a22}.sokela-topline{background:#184c2b;color:#fff;font-size:.72rem;padding:.38rem 0}.sokela-header{background:#fff;box-shadow:0 1px 8px rgba(15,64,34,.1);z-index:1030}.sokela-brand{display:flex;align-items:center;gap:.4rem;color:#1d6d3a;text-decoration:none;font-size:1.65rem;font-weight:900;letter-spacing:-.05em;white-space:nowrap}.sokela-brand img{width:44px;height:44px;object-fit:cover;border-radius:10px}.sokela-search{display:flex;min-width:180px;border:2px solid var(--sokela-green);border-radius:8px;overflow:hidden;background:#fff}.sokela-search .form-control{border:0;box-shadow:none;border-radius:0;min-height:44px}.sokela-search button{border:0;background:var(--sokela-green);color:#fff;width:52px;font-size:1.4rem}.header-actions{color:#17351f}.header-action,.header-cart,.header-account{position:relative;color:#17351f;text-decoration:none}.header-action{font-size:1.5rem}.header-cart{display:flex;align-items:center;gap:.35rem}.action-badge{position:absolute;top:-9px;right:-11px;background:var(--sokela-red);color:white;border-radius:99px;min-width:19px;height:19px;display:inline-grid;place-items:center;font-size:.62rem;padding:0 4px}.sokela-nav{background:var(--sokela-green-dark)}.sokela-nav a,.nav-category-btn{color:#fff;text-decoration:none;font-size:.84rem;font-weight:600;padding:.75rem .9rem;white-space:nowrap}.sokela-nav a:hover{background:rgba(255,255,255,.1)}.nav-category-btn{border:0;background:#2f8e4e}.category-menu{min-width:260px;border:0;border-radius:0 0 8px 8px;box-shadow:0 8px 24px rgba(0,0,0,.12)}.category-menu .dropdown-item{color:#223328;padding:.68rem 1rem}.market-hero-wrap{background:#edf3ee}.home-category-panel{height:100%;background:#fff;border:1px solid var(--sokela-line);border-radius:10px;overflow:hidden}.home-category-panel .panel-title{font-weight:800;padding:.8rem 1rem;border-bottom:1px solid var(--sokela-line)}.home-category-panel a{display:flex;align-items:center;gap:.6rem;padding:.57rem 1rem;color:#26362b;text-decoration:none;font-size:.85rem}.home-category-panel a:hover{background:#f1f8f3;color:var(--sokela-green-dark)}.home-category-panel a span{color:var(--sokela-green);font-size:1.25rem}.sokela-hero{min-height:390px;border-radius:12px;overflow:hidden;background:linear-gradient(120deg,#176b37,#448d5b 62%,#5ba56f);color:white;display:flex;align-items:center;justify-content:space-between;position:relative}.hero-copy{padding:3rem 3.2rem;position:relative;z-index:2;max-width:58%}.hero-kicker{font-weight:800;letter-spacing:.16em;font-size:.73rem;color:#c8fff0}.sokela-hero h1{font-size:clamp(2.6rem,5vw,4.8rem);line-height:.94;letter-spacing:-.06em;margin:.7rem 0 1rem;font-weight:900}.sokela-hero h1 span{color:#bff8f5}.sokela-hero p{max-width:540px;font-size:1.03rem;color:#effff3}.hero-cta{background:#fff;color:#176b37;font-weight:800;padding:.8rem 1.4rem;border-radius:7px}.hero-cta:hover{background:#f4fff7;color:#12592d}.hero-mascot{position:absolute;right:-50px;bottom:-10px;width:49%;height:105%;display:flex;align-items:center}.hero-mascot img{width:100%;height:100%;object-fit:cover;object-position:left center;mix-blend-mode:normal}.service-strip{background:#fff;border-top:1px solid var(--sokela-line);border-bottom:1px solid var(--sokela-line)}.service-item{padding:1rem 1.2rem;border-right:1px solid var(--sokela-line)}.service-item b,.service-item span{display:block}.service-item b{font-size:.9rem}.service-item span{font-size:.75rem;color:#748078;margin-top:.15rem}.market-section{background:#fff;border:1px solid var(--sokela-line);border-radius:10px;overflow:hidden}.section-bar{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.2rem;border-bottom:1px solid var(--sokela-line)}.section-bar h2{font-size:1.25rem;font-weight:850;margin:0}.section-bar a{font-size:.82rem;color:var(--sokela-green-dark);font-weight:700;text-decoration:none}.market-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.market-product-card{background:#fff;border-right:1px solid #eef0ee;border-bottom:1px solid #eef0ee;min-width:0;transition:.2s}.market-product-card:hover{box-shadow:0 7px 24px rgba(22,87,44,.14);transform:translateY(-2px);z-index:2}.product-link{text-decoration:none;color:inherit}.market-product-image{height:210px;position:relative;background:#f7f8f7;display:grid;place-items:center;overflow:hidden}.market-product-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{width:90px;height:90px;border-radius:24px;background:var(--sokela-green);color:#fff;display:grid;place-items:center;font-size:3rem;font-weight:900}.discount-badge{position:absolute;left:.55rem;top:.55rem;background:var(--sokela-red);color:#fff;border-radius:5px;padding:.28rem .42rem;font-size:.7rem;font-weight:800}.market-product-body{padding:.85rem}.product-name{font-size:.88rem;line-height:1.3;height:2.3em;overflow:hidden}.product-price{font-size:1rem;font-weight:850;color:#17351f;margin-top:.55rem}.market-product-body .old-price{font-size:.72rem;color:#929a94;text-decoration:line-through;margin-left:0}.product-meta{font-size:.69rem;color:#818b83;margin-top:.45rem}.category-scroll{display:flex;overflow-x:auto;gap:1.4rem;padding:1.2rem}.round-category{min-width:105px;text-align:center;color:#25362b;text-decoration:none}.round-category span{width:72px;height:72px;margin:auto;border-radius:50%;background:#edf6ef;color:var(--sokela-green-dark);display:grid;place-items:center;font-size:1.8rem;font-weight:900}.round-category b{display:block;font-size:.75rem;margin-top:.6rem}.shop-toolbar{display:flex;justify-content:space-between;align-items:end;gap:1rem}.shop-filter{background:#fff;border:1px solid var(--sokela-line);border-radius:8px;padding:1rem;position:sticky;top:150px}.shop-filter strong{display:block;margin-bottom:.6rem}.shop-filter a{display:block;padding:.48rem .1rem;color:#4b594f;text-decoration:none;font-size:.82rem;border-bottom:1px solid #f0f1f0}.shop-filter a.active,.shop-filter a:hover{color:var(--sokela-green-dark);font-weight:750}.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--sokela-line);border-radius:8px;overflow:hidden}.eyebrow{color:var(--sokela-red)}
.btn-dark{background:var(--sokela-green-dark);border-color:var(--sokela-green-dark)}.btn-dark:hover{background:#115b2c;border-color:#115b2c}.btn-outline-dark{color:var(--sokela-green-dark);border-color:var(--sokela-green-dark)}.btn-outline-dark:hover{background:var(--sokela-green-dark);border-color:var(--sokela-green-dark)}
.sidebar{background:#174c2b}.sidebar a.active,.sidebar a:hover{background:#2f8e4e}.table-card{border-color:#dfe8e1}.admin-topbar .eyebrow{color:var(--sokela-green)}
@media(max-width:1199px){.market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-account{display:none}.hero-copy{max-width:62%}}
@media(max-width:991px){.sokela-header{position:static!important}.sokela-brand span{display:none}.sokela-brand img{width:38px;height:38px}.header-actions{gap:.65rem!important}.header-action.d-none{display:none!important}.sokela-nav{overflow:auto}.sokela-hero{min-height:330px}.hero-copy{max-width:72%;padding:2.2rem}.hero-mascot{width:47%;opacity:.65}.market-grid,.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-filter{position:static;display:flex;overflow-x:auto;gap:.8rem;padding:.65rem;margin-bottom:.5rem}.shop-filter strong{display:none}.shop-filter a{white-space:nowrap;border:0}.market-product-image{height:190px}}
@media(max-width:767px){.sokela-topline span:first-child{display:none}.sokela-search{order:3;width:100%;flex-basis:100%}.sokela-header .container>.d-flex{flex-wrap:wrap}.header-cart strong{display:none}.sokela-hero{min-height:290px}.hero-copy{max-width:84%;padding:1.6rem}.sokela-hero h1{font-size:2.65rem}.sokela-hero p{font-size:.87rem}.hero-mascot{right:-90px;opacity:.42}.service-item{border-bottom:1px solid var(--sokela-line)}.market-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-product-image{height:170px}.market-product-body{padding:.68rem}.section-bar{padding:.85rem}.section-bar h2{font-size:1.05rem}.shop-toolbar{align-items:start;flex-direction:column}.shop-toolbar form{width:100%}}

/* Final pre-M-Pesa responsive regression */
html,body{max-width:100%;overflow-x:hidden}.dash-main{min-width:0}.table-responsive{max-width:100%}.market-section,.table-card,.metric{min-width:0}.sidebar{z-index:1040}.sidebar+main,.dash-main{min-height:100vh} @media(max-width:991px){.sidebar{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important}.dash-main{margin-left:0!important;width:100%!important;padding:1rem!important}.sidebar nav{display:flex;overflow-x:auto;max-width:100%;padding-bottom:.35rem}.sidebar a{flex:0 0 auto}.container,.container-fluid{max-width:100%}.btn-group{display:flex;flex-wrap:wrap}.table{min-width:680px}} @media(max-width:575px){.dash-main{padding:.75rem!important}.market-section{border-radius:6px}.market-section.p-4{padding:1rem!important}.d-flex.justify-content-between{gap:.75rem;flex-wrap:wrap}.form-control,.form-select,.btn{min-height:42px}}
