@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;700;800;900&display=swap");
:root{
  --orange:#F76320;
  --orange-2:#FF7A1A;
  --orange-dark:#E95518;
  --orange-soft:#FFF2EA;
  --blue:#123E7A;
  --blue-2:#1D4E95;
  --blue-deep:#0A2F63;
  --green:#40C057;
  --red:#EF4444;
  --gold:#D99A00;
  --bg:#F6F7F9;
  --surface:#FFFFFF;
  --text:#111827;
  --muted:#667085;
  --border:#E5E7EB;
  --border-2:#D0D5DD;
  --shadow-sm:0 2px 8px rgba(15,23,42,.05);
  --shadow:0 12px 34px rgba(15,23,42,.09);
  --radius:18px;
  --radius-lg:26px;
  --font:"Poppins",Inter,"Noto Sans",Roboto,Arial,"Noto Nastaliq Urdu","Noto Naskh Arabic",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:15px;line-height:1.5;overflow-x:hidden;font-weight:500}
img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled,.btn:disabled{opacity:.58;cursor:not-allowed}
.container{width:min(100% - 32px,1320px);margin-inline:auto}.container.narrow{max-width:760px}.container.mid{max-width:1060px}.page-shell{min-height:calc(100vh - 58px)}.buyer-area .page-shell{padding-bottom:76px}.muted{color:var(--muted)}
/* Header */
.top{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);backdrop-filter:saturate(180%) blur(14px)}
.top-inner{height:64px;width:min(100% - 32px,1320px);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;min-width:140px}.brand img{height:34px;width:auto;object-fit:contain}.desktop-nav{display:flex;align-items:center;justify-content:center;gap:32px;flex:1;color:#374151;font-weight:800}.desktop-nav a{padding:18px 0;transition:color .15s}.desktop-nav a:hover,.desktop-nav a.active{color:var(--orange)}.top-actions{display:flex;align-items:center;gap:16px;min-width:170px;justify-content:flex-end}.cart-link{position:relative;width:44px;height:44px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:23px;color:#111827}.cart-link:hover{background:#F3F4F6}.cart-badge{position:absolute;right:2px;top:2px;background:var(--orange);color:#fff;width:18px;height:18px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:950}.account-pill{background:var(--orange);color:#fff;border-radius:999px;font-weight:950;padding:12px 22px;box-shadow:0 10px 22px rgba(247,99,32,.18)}.account-pill:hover{background:var(--orange-dark)}
/* Hero + buyer pages */
.hero{background:linear-gradient(135deg,var(--blue),#1B438E);color:#fff;position:relative;overflow:hidden}.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 86% 10%,rgba(247,99,32,.18),transparent 28%),radial-gradient(circle at 8% 100%,rgba(255,255,255,.10),transparent 30%);pointer-events:none}.hero-inner{width:min(100% - 32px,1320px);margin-inline:auto;position:relative;z-index:1;padding:84px 0 104px}.hero-content{max-width:575px}.hero h1{font-size:58px;line-height:1.03;letter-spacing:-.065em;margin:0 0 20px;font-weight:950}.hero h1 span{color:var(--orange)}.hero p{font-size:21px;line-height:1.45;color:#D6E6FF;margin:0 0 32px}.hero .searchbar{max-width:560px}
.searchbar{display:flex;align-items:center;background:#fff;border:1px solid var(--border);border-radius:999px;overflow:hidden;box-shadow:0 14px 28px rgba(15,23,42,.11)}.searchbar .search-icon{width:58px;display:flex;align-items:center;justify-content:center;color:#98A2B3;font-size:26px;flex:0 0 auto}.searchbar input{border:0;outline:0;min-width:0;flex:1;background:transparent;padding:18px 12px;color:#111827;font-size:16px}.searchbar button{border:0;background:linear-gradient(135deg,var(--orange),var(--orange-2));color:#fff;font-weight:950;align-self:stretch;padding:0 30px;min-width:118px}.searchbar button:hover{background:var(--orange-dark)}
.section{width:min(100% - 32px,1320px);margin-inline:auto;padding:32px 0}.section.mid{max-width:1060px}.section.narrow{max-width:760px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section h1,.section h2,.section h3{letter-spacing:-.045em;line-height:1.14}.section h1{font-size:30px;margin:0 0 22px}.section h2{font-size:25px;margin:0}.section h3{font-size:19px;margin:0 0 10px}.view-all{color:var(--orange);font-weight:950;font-size:14px}.view-all:hover{text-decoration:underline}
.category-strip{display:flex;gap:22px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.category-strip::-webkit-scrollbar,.district-chips::-webkit-scrollbar{display:none}.category-item{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.category-icon{width:60px;height:60px;border-radius:20px;background:#FFF7ED;display:flex;align-items:center;justify-content:center;font-size:29px;box-shadow:inset 0 0 0 1px rgba(247,99,32,.04)}.category-name{font-size:12px;line-height:1.15;color:#344054;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.category-tile{background:#fff;border:1px solid var(--border);border-radius:15px;padding:18px 20px;display:flex;align-items:center;gap:14px;min-height:64px;font-weight:850;color:#1F2937;box-shadow:var(--shadow-sm);transition:.15s}.category-tile span{font-size:23px}.category-tile:hover{border-color:#FDBA74;box-shadow:var(--shadow);transform:translateY(-1px)}
.grid{display:grid;gap:18px}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-sm)}a.card:hover,.shop-card:hover,.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#D0D5DD}.card > strong:first-child{font-size:26px;color:var(--blue)}
.shop-card{display:block;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm);transition:.16s ease;min-width:0}.shop-media{height:150px;background:linear-gradient(135deg,rgba(18,62,122,.08),rgba(247,99,32,.08));position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.shop-media img{width:100%;height:100%;object-fit:cover}.shop-emoji{font-size:44px}.featured-badge{position:absolute;top:10px;left:10px;background:var(--orange);color:#fff;font-weight:950;font-size:11px;padding:5px 10px;border-radius:999px}.shop-body{padding:15px}.shop-title-row{display:flex;align-items:center;gap:7px;min-width:0}.shop-card h3{font-size:17px;line-height:1.2;margin:0;font-weight:950;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.verified-dot{display:inline-flex;align-items:center;justify-content:center;background:#53C46B;color:#fff;border-radius:999px;width:17px;height:17px;font-size:11px;font-weight:950;flex:0 0 auto}.shop-meta{font-size:13px;color:#667085;margin:7px 0 13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-info{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#667085}.shop-info span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rating{color:var(--gold);font-weight:850;flex:0 0 auto}.shop-description{display:none}.product-card{overflow:hidden}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:#E5E7EB;margin-bottom:12px}.product-card h3{margin:8px 0 6px}.product-card strong{display:block;margin-top:8px;font-size:20px;color:var(--orange)}
.seller-cta{background:linear-gradient(135deg,var(--orange),#FF6A13);border-radius:22px;color:#fff;text-align:center;padding:48px 24px;margin:38px auto}.seller-cta h2{font-size:30px;margin:0 0 10px;color:#fff}.seller-cta p{color:#FFE8D8;margin:0 0 24px;font-size:17px}.seller-cta .btn{background:#fff;color:var(--orange);border-radius:999px;min-width:225px}.district-chips{display:flex;gap:10px;overflow-x:auto;padding:4px 0 14px;margin-bottom:14px;-webkit-overflow-scrolling:touch}.chip{flex:0 0 auto;background:#fff;border:1px solid var(--border);border-radius:999px;padding:10px 20px;font-weight:850;color:#475467;box-shadow:var(--shadow-sm)}.chip.active{background:var(--orange);color:#fff;border-color:var(--orange)}.scroll-hint{height:12px;width:230px;background:#D0D5DD;border-radius:999px;margin:0 0 22px;display:block}
/* Forms, buttons, tables */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--orange),var(--orange-2));color:#fff;font-weight:950;padding:11px 18px;cursor:pointer;box-shadow:none;transition:.15s}.btn:hover{background:var(--orange-dark)}.btn-small{min-height:36px;padding:8px 13px;font-size:13px}.btn.blue{background:var(--blue)}.btn.green{background:var(--green)}.btn.red{background:var(--red)}.btn.light{background:#fff;color:#344054;border:1px solid var(--border)}.btn.white{background:#fff;color:var(--orange);border:0}.badge{display:inline-flex;align-items:center;border-radius:999px;font-size:12px;font-weight:950;padding:5px 10px;background:#F2F4F7;color:#344054}.badge.pending{background:#FEF3C7;color:#92400E}.badge.accepted{background:#DBEAFE;color:#1E40AF}.badge.preparing{background:#F3E8FF;color:#6B21A8}.badge.out_for_delivery{background:#FFEDD5;color:#9A3412}.badge.delivered{background:#DCFCE7;color:#166534}.badge.cancelled,.badge.rejected,.badge.suspended{background:#FEE2E2;color:#991B1B}.badge.approved{background:#DCFCE7;color:#166534}
.form{display:grid;gap:13px}.form input,.form select,.form textarea,input[type="number"]{width:100%;border:1px solid #D0D5DD;border-radius:11px;padding:12px 14px;background:#fff;color:#111827;outline:none;min-height:44px}.form textarea{min-height:100px;resize:vertical}.form input:focus,.form select:focus,.form textarea:focus,input[type="number"]:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(247,99,32,.13)}.form label{font-size:13px;font-weight:850;color:#344054}.form .card{display:grid;gap:12px}.form-section-title{font-size:13px;font-weight:950;color:#101828;margin:2px 0 4px}input[type="radio"],input[type="checkbox"]{width:auto;min-height:auto;accent-color:var(--orange)}
.table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden}.table th,.table td{text-align:left;padding:13px;border-bottom:1px solid var(--border);font-size:14px;vertical-align:top}.table th{background:#F9FAFB;color:#475467;font-weight:950;white-space:nowrap}.table tr:last-child td{border-bottom:0}.table input[type="number"]{max-width:96px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.flash{width:min(100% - 32px,1320px);margin:14px auto;padding:13px 16px;border-radius:13px;font-weight:780;border:1px solid transparent}.flash.error{background:#FEF2F2;color:#991B1B;border-color:#FECACA}.flash.success{background:#F0FDF4;color:#166534;border-color:#BBF7D0}.flash.warning{background:#FFFBEB;color:#B45309;border-color:#FDE68A}.empty-state{text-align:center;color:#98A2B3;padding:38px 0}
/* Auth */
.auth-body{background:linear-gradient(180deg,#FFF7ED 0%,#F8FAFC 48%,#F8FAFC 100%)}.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:22px}.auth-card{max-width:450px;width:100%;background:#fff;border:1px solid var(--border);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.auth-brand{margin-bottom:18px}.auth-brand img{height:50px;width:auto}.auth-card h1,.auth-card h2{margin-top:16px;letter-spacing:-.04em}.footer{color:#667085;text-align:center;font-size:13px;padding:24px 14px 90px}
/* Seller/Admin app */
.dashboard-topbar{position:sticky;top:0;z-index:70;background:var(--blue);color:#fff}.dashboard-topbar-inner{height:58px;width:min(100% - 32px,1320px);margin-inline:auto;display:flex;align-items:center;justify-content:space-between}.dash-back{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:24px}.dash-back:hover{background:rgba(255,255,255,.12)}.dashboard-topbar strong{margin-right:auto;margin-left:8px;font-weight:950}.dash-avatar{width:30px;height:30px;border-radius:999px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:950}.seller-area .page-shell,.admin-area .page-shell{width:min(100% - 32px,1320px);margin-inline:auto;display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;min-height:calc(100vh - 58px)}.seller-menu,.admin-menu{position:sticky;top:78px;align-self:start;background:#fff;border-right:1px solid var(--border);min-height:calc(100vh - 58px);padding:18px 14px;display:flex;flex-direction:column;gap:8px}.seller-menu a,.admin-menu a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:13px;font-weight:800;color:#344054}.seller-menu a:hover,.seller-menu a.active,.admin-menu a:hover,.admin-menu a.active{background:var(--orange-soft);color:var(--orange)}.seller-area .section,.admin-area .section{width:100%;padding:26px 0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;min-height:104px}.metric-card .metric-icon{font-size:22px;margin-bottom:12px;color:var(--blue);font-weight:950}.metric-card strong{font-size:27px;line-height:1;color:#0B1220}.metric-card p{margin:6px 0 0;color:#667085}.pending-alert{background:#FFFBEB;border:1px solid #FDE68A;color:#B45309;border-radius:14px;padding:15px 17px;margin-bottom:22px;display:flex;gap:12px;align-items:flex-start}.pending-alert strong{display:block;color:#92400E}.subscription-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.plan-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;min-height:230px;display:block}.plan-card.selected{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.plan-card h3{font-size:21px;margin:0 0 6px}.plan-price{font-size:28px;font-weight:950;color:var(--orange);letter-spacing:-.04em}.plan-price small{font-size:12px;color:#98A2B3;font-weight:500}.plan-features{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:7px;color:#475467;font-size:14px}.plan-features li::before{content:"✓";color:#22C55E;margin-right:8px}.popular{display:inline-flex;background:var(--orange);color:#fff;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:950;margin-bottom:12px}.payment-panel{margin-top:22px}.payment-panel.hidden{display:none}.payment-panel .btn{width:100%}
.seller-register-area{background:#F6F7F9}.seller-register-area .page-shell{min-height:100vh;display:flex;align-items:flex-start;justify-content:center}.seller-register-wrap{max-width:470px;width:100%;margin:0 auto;padding:22px 18px 48px}.seller-register-wrap h1{font-size:24px;margin:0}.seller-register-wrap .sub{font-size:12px;color:#667085;margin:0 0 16px}.seller-register-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:14px}.detect-link{color:var(--orange);font-weight:850;background:transparent;border:0;padding:4px 0;text-align:left}.seller-area .flash,.admin-area .flash{grid-column:1/-1}.seller-register-area .flash{width:100%;margin:12px 0}
/* Shop profile/detail */
.shop-profile-hero{height:190px;background:linear-gradient(110deg,#DCE1EA 0%,#FBE3D8 100%);position:relative;overflow:hidden}.shop-profile-hero img{width:100%;height:100%;object-fit:cover;opacity:.84}.shop-back{position:absolute;left:14px;top:14px;width:38px;height:38px;border-radius:999px;background:#fff;color:#0F172A;box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:950}.shop-profile-wrap{width:min(100% - 32px,760px);margin:-42px auto 0;position:relative;z-index:2}.shop-profile-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:23px;box-shadow:0 5px 18px rgba(15,23,42,.08)}.shop-profile-main{display:flex;gap:16px;align-items:flex-start}.shop-profile-logo{width:58px;height:58px;border-radius:15px;background:#FFF6EB;display:flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden}.shop-profile-logo img{width:100%;height:100%;object-fit:cover}.shop-profile-logo span{font-size:29px}.shop-profile-copy{min-width:0;flex:1}.shop-profile-title-row{display:flex;align-items:center;gap:8px;min-width:0}.shop-profile-title-row h1{font-size:23px;line-height:1.08;margin:0;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-verified{width:19px;height:19px;background:#44C566;color:#fff;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:950;flex:0 0 auto}.shop-profile-type{margin:4px 0 2px;color:#344054;font-size:13px}.shop-profile-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#667085;font-size:12px}.shop-profile-description{margin:16px 0 14px;color:#344054;font-size:14px;line-height:1.5}.shop-profile-badges{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.delivery-chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:850}.delivery-chip.green{background:#ECFDF3;color:#039855}.delivery-chip.blue{background:#EFF6FF;color:#2563EB}.delivery-chip.gray{background:#F2F4F7;color:#344054}.delivery-chip.orange{background:#FFF2EA;color:var(--orange)}.shop-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shop-profile-actions .btn{width:100%;border-radius:10px}.shop-call{background:var(--blue);border-color:var(--blue);color:#fff}.shop-directions{background:#F3F4F6;border-color:#F3F4F6;color:#111827}.disabled-link{opacity:.55;pointer-events:none}.shop-products-section{padding-top:26px}.shop-products-section h2{font-size:20px;margin-bottom:18px}.profile-product-grid{gap:12px}.profile-product-card{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;min-width:0}.profile-product-media{height:150px;background:#F8FAFC;display:flex;align-items:center;justify-content:center}.profile-product-media img{width:100%;height:100%;object-fit:cover}.profile-product-media span{font-size:29px}.profile-product-body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}.profile-product-body h3{font-size:15px;line-height:1.2;margin:0;letter-spacing:-.02em}.profile-product-body p{margin:0;color:#667085;font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.profile-product-bottom strong{font-size:15px;color:var(--orange);font-weight:950}.add-fab{width:34px;height:34px;border-radius:999px;background:var(--orange);color:#fff;border:0;display:flex;align-items:center;justify-content:center;font-size:16px;box-shadow:0 6px 12px rgba(247,99,32,.20)}.add-fab:disabled{background:#CBD5E1;box-shadow:none}.shop-reviews-section{padding-top:10px}
@media (max-width:1100px){.grid.cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:800px){body{font-size:15px}.top-inner{height:72px;width:min(100% - 34px,1320px)}.brand{min-width:auto}.brand img{height:34px}.desktop-nav,.account-pill{display:none}.top-actions{min-width:auto}.cart-link{font-size:25px}.buyer-area .page-shell{padding-bottom:80px}.hero-inner{width:calc(100% - 56px);padding:86px 0}.hero h1{font-size:43px}.hero p{font-size:18px}.hero .searchbar{height:76px;border-radius:30px}.searchbar .search-icon{width:58px;font-size:26px}.searchbar input{font-size:18px}.searchbar button{font-size:18px;min-width:112px}.section{width:calc(100% - 56px);padding:28px 0}.section h1{font-size:32px}.section h2{font-size:28px}.grid.cols-4,.grid.cols-3,.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.shop-media{height:175px}.shop-body{padding:16px}.shop-card h3{font-size:22px}.shop-meta{font-size:17px}.shop-info{font-size:16px}.featured-badge{font-size:15px;padding:6px 12px}.verified-dot{width:20px;height:20px}.category-item{flex-basis:86px}.category-icon{width:66px;height:66px}.category-name{font-size:14px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.category-tile{min-height:84px;font-size:21px;border-radius:18px;padding:18px}.seller-cta{padding:44px 20px}.seller-cta h2{font-size:31px}.seller-cta p{font-size:20px}.seller-area .page-shell,.admin-area .page-shell{width:100%;display:block;padding:0 0 78px}.seller-area .section,.admin-area .section{width:min(100% - 32px,1120px);margin-inline:auto;padding:22px 0}.seller-menu,.admin-menu{position:fixed;left:0;right:0;bottom:0;top:auto;min-height:0;z-index:75;height:66px;border-top:1px solid var(--border);border-right:0;padding:6px;display:flex;flex-direction:row;justify-content:space-around;gap:2px;overflow-x:auto}.seller-menu a,.admin-menu a{flex:1;min-width:68px;justify-content:center;flex-direction:column;gap:0;padding:6px 3px;font-size:11px}.seller-menu a:nth-child(n+6),.admin-menu a:nth-child(n+6){display:none}.subscription-plans{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table{display:block;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.actions{display:grid;grid-template-columns:1fr}.actions .btn,.actions a{width:100%}.flash{width:min(100% - 32px,1120px)}.shop-profile-hero{height:168px}.shop-profile-wrap{width:calc(100% - 32px);margin-top:-34px}.shop-profile-card{padding:18px}.profile-product-grid.grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-product-media{height:128px}.shop-products-section{width:calc(100% - 32px)}}
@media (max-width:560px){.top-inner,.hero-inner,.section{width:calc(100% - 34px)}.hero h1{font-size:38px}.hero p{font-size:17px}.hero .searchbar{height:64px}.searchbar input{font-size:16px}.searchbar button{font-size:16px;min-width:96px}.section h2{font-size:25px}.grid.cols-4,.grid.cols-3,.grid.cols-2{gap:14px}.shop-media{height:132px}.shop-body{padding:12px}.shop-card h3{font-size:16px}.shop-meta{font-size:13px}.shop-info{font-size:12px}.featured-badge{font-size:11px;padding:4px 9px}.category-icon{width:62px;height:62px}.category-name{font-size:13px}.category-tile{font-size:16px;min-height:72px}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--border);z-index:90;height:72px;display:flex;align-items:center;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 22px rgba(15,23,42,.06)}.mobile-bottom-nav a{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#9AA3AF;font-style:normal}.mobile-bottom-nav span{font-size:25px;line-height:1}.mobile-bottom-nav em{font-size:13px;font-style:normal;font-weight:700}.mobile-bottom-nav a.active{color:var(--orange)}.mobile-bottom-nav b{position:absolute;top:6px;right:28%;background:var(--orange);color:#fff;border-radius:999px;width:18px;height:18px;font-size:10px;display:flex;align-items:center;justify-content:center}.footer{display:none}.btn{width:100%;min-height:50px}.metric-grid{grid-template-columns:1fr}.shop-profile-title-row h1{font-size:18px}.shop-profile-actions{grid-template-columns:1fr 1fr}.profile-product-grid.grid.cols-3{grid-template-columns:1fr 1fr;gap:10px}.profile-product-media{height:112px}.profile-product-body{padding:12px}.profile-product-body h3{font-size:14px}.profile-product-bottom strong{font-size:14px}.add-fab{width:31px;height:31px}.shop-products-section{width:calc(100% - 28px)}}
@media (min-width:561px){.mobile-bottom-nav{display:none}}
@media (max-width:380px){.hero h1{font-size:34px}.hero p{font-size:16px}.searchbar .search-icon{width:50px}.searchbar button{min-width:86px;padding:0 14px}.category-item{flex-basis:76px}.grid.cols-4,.grid.cols-3,.grid.cols-2{gap:10px}.shop-media{height:118px}.category-tile{padding:14px;font-size:15px}}

/* KPK Pakistan app polish + admin/referral modules */
.hero.hero-image{background-size:cover;background-position:center;min-height:390px;display:flex;align-items:center}
.hero.hero-image .hero-inner{padding:86px 0 96px}.hero-btn{margin-top:18px;width:auto!important}.admin-note{border-left:5px solid var(--orange);background:linear-gradient(135deg,#fff,#fff7ed)}.district-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:280px;overflow:auto;border:1px solid var(--border);border-radius:16px;padding:14px;background:#fff}.district-checks label{display:flex;gap:8px;align-items:center;background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:9px 10px;font-size:13px}.referral-card input{font-weight:800;color:var(--blue);background:#f8fafc}.badge.paid{background:#DCFCE7;color:#166534}.badge.approved{background:#DBEAFE;color:#1E40AF}.auth-card h1{letter-spacing:-.05em}.auth-card .form input{min-height:48px}.admin-area .section h1,.seller-area .section h1{font-size:32px}.admin-menu a[href="/admin/referrals"]{color:var(--orange);font-weight:950}.dashboard-topbar{background:linear-gradient(135deg,var(--blue),var(--blue-2));color:white}.dashboard-topbar-inner{height:58px;width:min(100% - 32px,1320px);margin:auto;display:flex;align-items:center;gap:14px;justify-content:space-between}.dash-back,.dash-avatar{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);border-radius:999px;width:38px;height:38px;display:flex;align-items:center;justify-content:center}.table small{color:var(--muted)}
@media(max-width:800px){.hero.hero-image{min-height:430px}.hero.hero-image .hero-inner{padding:70px 0}.district-checks{grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px}.admin-area .section h1,.seller-area .section h1{font-size:26px}.hero-btn{width:100%!important}.admin-menu a[href="/admin/district-admins"],.admin-menu a[href="/admin/referrals"]{display:none!important}.referral-card input{font-size:12px}}
@media(max-width:560px){.hero.hero-image{min-height:400px;border-radius:0 0 28px 28px}.hero.hero-image .hero-inner{padding:54px 0 72px}.district-checks{grid-template-columns:1fr}.grid.cols-3{grid-template-columns:1fr}.auth-wrap{padding:18px}.auth-card{border-radius:22px}.seller-cta{border-radius:26px}.top{box-shadow:0 8px 24px rgba(15,23,42,.06)}}

/* Developer-friendly diagnostics */
.inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inline-form select{min-height:42px;border:1px solid var(--border);border-radius:12px;padding:9px 12px;background:#fff}.stats-grid{margin-top:16px}.stat{background:#f8fafc;border:1px solid var(--border);border-radius:16px;padding:15px}.stat small{display:block;color:var(--muted);font-weight:750}.stat strong{display:block;margin-top:5px;font-size:25px;color:var(--blue)}.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}.small-error{max-width:420px;white-space:normal;font-size:12px;color:#475467}.badge.sent{background:#DCFCE7;color:#166534}.badge.failed{background:#FEE2E2;color:#991B1B}
@media(max-width:800px){.inline-form{display:grid;grid-template-columns:1fr;width:100%}.inline-form .btn{width:100%}.stats-grid.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.small-error{min-width:260px}}


/* Khpal Dukan final polish */
.featured-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-card .feature-chip{display:inline-flex;background:var(--orange-soft);color:var(--orange);border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;margin-bottom:7px}
.admin-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.hero-preview{border-radius:24px;min-height:220px;color:#fff;padding:28px;display:flex;align-items:center;background-size:cover;background-position:center;overflow:hidden}
.hero-preview h2{font-size:34px;margin:0 0 8px;color:inherit}.hero-preview p{max-width:650px}
.feature-list{display:grid;gap:10px;max-height:360px;overflow:auto}.feature-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff}.feature-row strong{display:block}.feature-row small{color:var(--muted)}
@media(max-width:900px){.featured-products{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-home-grid{grid-template-columns:1fr}}
@media(max-width:560px){.featured-products{grid-template-columns:1fr}.hero-preview{min-height:180px}.hero-preview h2{font-size:26px}}
