:root{
  --bg:#f6f8fa;--surface:#fff;--surface-soft:#f9fbfc;--line:#e5e9ee;
  --text:#18212b;--muted:#687582;--green:#008f6f;--green-dark:#00755c;
  --accent:#ff5a5f;--gold:#f3a51a;--shadow:0 8px 28px rgba(20,35,45,.08);
  --radius:14px;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;min-width:0;width:100%;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:"Noto Sans Bengali",system-ui,-apple-system,sans-serif;line-height:1.45}
a{color:inherit}img,svg,video,iframe{max-width:100%}button,input,textarea,select{font:inherit;max-width:100%;min-width:0}

/* ---------- HEADER ---------- */
.topbar{position:sticky;top:0;z-index:70;width:100%;height:64px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(14px,calc((100vw - 1120px)/2));gap:14px;box-shadow:0 2px 14px rgba(20,35,45,.05)}
.brand{display:flex;align-items:center;gap:8px;min-width:0;text-decoration:none;color:#078a6b;font-size:19px;font-weight:900;white-space:nowrap}.brand b{color:#ef4c55}.brand-bag{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#09b88c,#007d61);color:#fff;border:0;box-shadow:0 5px 15px rgba(0,143,111,.2)}
.top-actions{display:flex;align-items:center;gap:7px;min-width:0;flex-shrink:0}.icon-btn{position:relative;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#f1f5f7;border:1px solid #e0e6ea;color:#33414d;text-decoration:none;font-size:19px}.icon-btn:hover{border-color:#b8d9d0;background:#e9f5f2}.login-mini{padding:8px 13px;border:1px solid #d8e2e7;border-radius:20px;text-decoration:none;color:#24313b;background:#fff;font-weight:700}.post-ad-top{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-decoration:none;color:#fff!important;background:linear-gradient(135deg,#08a981,#007d62);padding:9px 13px;border-radius:10px;font-size:12px;font-weight:900;box-shadow:0 5px 15px rgba(0,143,111,.15)}
.nav-badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:20px;background:#ef4d57;color:#fff;border:2px solid #fff;font-size:9px;line-height:1;font-weight:900;z-index:4}.icon-relative,.nav-relative{position:relative}

/* ---------- PAGE ---------- */
.page{width:100%;max-width:1120px;margin:0 auto;padding:18px 16px 104px;overflow-x:clip}
.hero{background:linear-gradient(135deg,#e9f8f4,#fff);border:1px solid #d9eee8;border-radius:18px;padding:22px;margin-bottom:20px;box-shadow:var(--shadow)}.hero h1{margin:0;font-size:28px;line-height:1.2}.hero p{margin:7px 0 15px;color:var(--muted)}.market-hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:24px}.market-hero h1 span{color:var(--green)}
.eyebrow{display:block;margin-bottom:4px;color:var(--green);font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.search{width:100%;display:flex;align-items:center;overflow:hidden;background:#fff;border:1px solid #dbe4e8;border-radius:12px;box-shadow:0 5px 18px rgba(30,50,60,.06)}.search input{width:100%;flex:1;border:0;outline:0;background:transparent;color:#1d2933;padding:13px 15px}.search button{flex:0 0 auto;border:0;background:var(--green);color:#fff;padding:12px 18px;cursor:pointer;font-weight:800}
.market-section{margin:25px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 1px 11px}.market-head h2,.section-head h2{margin:0;font-size:20px;line-height:1.2}.section-head a,.section-more{color:var(--green);text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}.muted{color:var(--muted)}

/* ---------- GRIDS ---------- */
.market-grid{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.market-category{min-width:0;min-height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:13px 8px;border:1px solid var(--line);border-radius:15px;background:#fff;color:#27333d;text-decoration:none;text-align:center;box-shadow:0 5px 18px rgba(20,35,45,.045);transition:transform .18s,box-shadow .18s,border-color .18s}.market-category:hover{transform:translateY(-2px);border-color:#b8ddd4;box-shadow:0 9px 24px rgba(20,35,45,.09)}
.category-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#edf8f5;box-shadow:inset 0 0 0 1px #d6eee8;font-size:27px}.market-category>span:last-child{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.all-market-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:11px;padding:11px 15px;border:1px solid #cfe3de;border-radius:11px;background:#fff;color:var(--green);text-decoration:none;font-weight:800;font-size:13px}.all-market-btn:hover{background:#f1faf8}

/* ---------- SHOPS ---------- */
.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.shop-card{min-width:0;overflow:hidden;display:block;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;box-shadow:0 6px 20px rgba(20,35,45,.06);transition:transform .18s,box-shadow .18s,border-color .18s}.shop-card:hover{transform:translateY(-2px);border-color:#b8ddd4;box-shadow:0 10px 25px rgba(20,35,45,.1)}
.shop-logo-stage{height:142px;position:relative;display:grid;place-items:center;padding:18px;background:linear-gradient(180deg,#f6fafb,#eef7f4)}.shop-main-logo{width:92px;height:92px;border-radius:18px;object-fit:cover;background:#eaf5f2;border:1px solid #d3e6e0;box-shadow:0 7px 18px rgba(20,35,45,.1)}.shop-logo-letter{display:grid;place-items:center;color:#fff;font-size:36px;font-weight:900;background:linear-gradient(135deg,#10aa85,#00755b)}.shop-verified{position:absolute;top:8px;right:8px;padding:4px 7px;border-radius:20px;background:#eaf8f4;color:#007b60;border:1px solid #c6e9df;font-size:9px;font-weight:900}.shop-card-body-clean{padding:11px 11px 14px;text-align:center}.shop-card-body-clean strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-card-body-clean small{display:block;margin-top:3px;color:#788692;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- PRODUCTS ---------- */
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.market-product{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;box-shadow:0 6px 20px rgba(20,35,45,.06);transition:transform .18s,box-shadow .18s,border-color .18s}.market-product:hover{transform:translateY(-2px);border-color:#b8ddd4;box-shadow:0 10px 25px rgba(20,35,45,.1)}
.product-main-link{display:block;min-width:0;color:inherit;text-decoration:none}.product-image-wrap{aspect-ratio:1/1;position:relative;overflow:hidden;background:#f1f4f5}.product-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}.product-badge{position:absolute;top:9px;left:9px}.verified-badge{padding:4px 7px;border-radius:20px;background:#eaf8f4;color:#007b60;border:1px solid #c6e9df;font-size:9px;font-weight:900}
.product-info{padding:10px 10px 7px}.product-info h3{margin:0 0 5px;font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#26323c}.price{font-size:17px;font-weight:900;color:#008f6f}.product-meta{margin-top:4px;color:#75828c;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-bottom{display:flex;justify-content:space-between;gap:5px;margin-top:7px;color:#8a959d;font-size:9px}.product-bottom span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-actions{display:flex;gap:7px;padding:0 9px 9px;margin-top:auto}.product-actions .btn{flex:1;min-width:0;padding:9px 7px;font-size:11px}.product-chat-btn{background:var(--green)!important;color:#fff!important}.product-view-btn{background:#f3f6f7!important;color:#33424c!important;border:1px solid #dfe6e9!important}

/* ---------- LISTS / DETAIL ---------- */
.ad-list{display:flex;flex-direction:column;gap:9px}.ad-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:13px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;box-shadow:0 5px 18px rgba(20,35,45,.05)}.thumb{width:130px;height:130px;object-fit:cover;border-radius:11px;background:#f1f4f5}.ad-card h3{margin:2px 0 4px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{margin-top:7px;color:#71808b;font-size:12px}.heart{float:right;width:38px;height:38px;border:1px solid #e0e6ea;border-radius:50%;display:grid;place-items:center;background:#fff;color:#e95b68;font-size:22px}
.tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 10px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs a{white-space:nowrap;padding:8px 14px;border:1px solid #dce4e8;border-radius:22px;color:#66747f;text-decoration:none;background:#fff}.tabs a.active{background:var(--green);border-color:var(--green);color:#fff}.filter{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.select{width:100%;background:#fff;color:#25313a;border:1px solid #dce4e8;border-radius:10px;padding:11px;outline:0}
.detail-card,.form-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow)}.detail-card{margin-top:12px}.detail-card h1{margin:0 0 5px;font-size:24px}.details-image{width:100%;max-height:520px;object-fit:contain;border-radius:16px;background:#f1f4f5}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.pill,.badge{display:inline-block;padding:4px 9px;border-radius:20px;background:#eaf8f4;color:#007b60;font-size:11px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;padding:11px 16px;background:var(--green);color:#fff;text-decoration:none;cursor:pointer;font-weight:800}.btn.secondary{background:#f3f6f7;border:1px solid #dce4e8;color:#33424c}.btn.danger{background:#c83e49}.btn.full{width:100%}
.form-card{max-width:680px;margin:20px auto}.form-card h1{margin-top:0}.field{margin:13px 0}.field label{display:block;margin-bottom:6px;color:#52616c;font-size:13px}.field input,.field textarea,.field select{width:100%;padding:12px;border:1px solid #d8e1e6;border-radius:10px;background:#fff;color:#202c35;outline:0}.field textarea{min-height:115px;resize:vertical}.check{display:flex;gap:8px;align-items:center;color:#596873;font-size:13px}.google-box{padding:12px;background:#fff;color:#111;border-radius:12px;border:1px solid #dce4e8}.price-box{padding:13px;margin:12px 0;background:#edf8f5;border-radius:12px}.notice{padding:12px;margin:10px 0;border-radius:12px;background:#fff8e7;color:#795e16;border:1px solid #f1dfab}.toast{position:fixed;top:78px;left:50%;transform:translateX(-50%);z-index:200;padding:10px 16px;border-radius:22px;box-shadow:var(--shadow);background:#fff;border:1px solid var(--line)}.toast.success{color:#08775d}.toast.error{color:#c43e4b}

/* ---------- SHOP PAGE ---------- */
.public-shop-head{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:18px;box-shadow:var(--shadow)}.public-shop-banner{width:100%;height:220px;object-fit:cover;display:block}.public-shop-info{display:flex;align-items:center;gap:14px;padding:15px}.public-shop-logo{width:84px;height:84px;flex:0 0 84px;object-fit:cover;border-radius:18px;background:#eef7f4;border:1px solid #d5e7e2;display:grid;place-items:center;color:#008f6f;font-size:28px;font-weight:900}.shop-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.shop-title-row h1{margin:0;font-size:24px}

/* ---------- CHAT ---------- */
.chat-room{background:#fff;border:1px solid var(--line);border-radius:16px;min-height:calc(100dvh - 180px);overflow:auto}.chat-compose{position:fixed;left:50%;bottom:calc(74px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:100;width:min(1088px,calc(100% - 28px));display:flex;gap:7px;padding:7px;background:#fff;border:1px solid #dce5e9;border-radius:14px;box-shadow:0 8px 28px rgba(20,35,45,.15)}.chat-compose input{flex:1;border:0;outline:0;padding:10px;background:#f5f7f8;border-radius:9px;color:#24313a}.chat-compose .btn{padding:10px 14px}.messages{padding:15px 15px 88px}.bubble{max-width:78%;padding:9px 12px;border-radius:14px;margin:7px 0}.bubble.me{margin-left:auto;background:#dff5ee}.bubble.them{background:#f0f3f5}.chat-product-card{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:9px;border:1px solid #dce5e9;border-radius:13px;background:#f8fafb;min-width:0}.chat-product-card img{width:58px;height:58px;flex:0 0 58px;object-fit:cover;border-radius:10px;background:#eef2f4}.chat-product-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.chat-product-info b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-product-info span{font-size:10px;color:#72808b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-product-card>.btn{flex:0 0 auto;padding:8px 10px;font-size:10px}

/* ---------- SKU / SMALL UI ---------- */
.sku-help{display:flex;align-items:flex-start;gap:9px;margin:10px 0;padding:10px 12px;border:1px solid #dce7e3;border-radius:11px;background:#f4faf8;color:#64747e;font-size:11px;line-height:1.45}.sku-help b{color:#007b60;white-space:nowrap}.sku-line{margin-top:6px;color:#74828c;font-size:11px}.sku-line b{color:#008f6f;letter-spacing:.4px}.success-note{background:#eaf8f4;color:#08775d;border:1px solid #c6e9df}.warning-note{border:1px solid #eedca7}

/* ---------- DASHBOARD / ADMIN ---------- */
.adminbar,.admin-panel{padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:12px;box-shadow:0 5px 18px rgba(20,35,45,.04)}.admin-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;margin-bottom:15px;border:1px solid #d9eee8;border-radius:18px;background:linear-gradient(135deg,#eaf8f4,#fff);box-shadow:var(--shadow)}.admin-hero h1{margin:3px 0;font-size:27px}.admin-hero p{margin:0;color:#71808b}.admin-mark{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg,#0aa982,#00785d);color:#fff;font-weight:900;font-size:26px}.count-chip{display:inline-grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border-radius:20px;background:#eaf8f4;color:#00856a}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.full-field{grid-column:1/-1}.switch-row{display:flex;align-items:center;gap:8px;margin:12px 0;color:#586873}.error-note{background:#fff0f1;color:#b83845}.modern-table th{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:#7c8992}.modern-table td{vertical-align:middle}
.cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.cat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 5px;text-align:center;color:#25313a;text-decoration:none}.cat .ico{width:42px;height:42px;margin:0 auto 6px;border-radius:12px;background:#edf8f5;display:grid;place-items:center;font-size:23px}.cat span{display:block;font-size:12px;font-weight:600}.banner{height:155px;border-radius:15px;background:#eaf7f3;color:#12694f;display:flex;align-items:center;justify-content:space-between;padding:15px 20px;overflow:hidden;margin-bottom:15px}.banner strong{font-size:26px;max-width:60%;line-height:1.25}.banner img{height:150px;width:43%;object-fit:contain}

/* ---------- BOTTOM NAV ---------- */
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:90;height:72px;padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.97);border-top:1px solid #dfe6ea;display:flex;justify-content:stretch;box-shadow:0 -5px 20px rgba(20,35,45,.1);backdrop-filter:blur(12px)}.bottom-nav a{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#78858e;text-decoration:none;font-size:10px}.bottom-nav a:hover{color:var(--green)}.bottom-nav span{font-size:21px;line-height:1}.sell-nav{font-weight:900;color:#27343d!important}.sell-nav span{width:36px;height:36px!important;margin-top:-13px;margin-bottom:1px;border-radius:50%;display:grid!important;place-items:center;background:linear-gradient(135deg,#0aa982,#00785d);box-shadow:0 6px 18px rgba(0,143,111,.24);color:#fff;font-size:23px!important}.bottom-nav .nav-badge{top:5px;right:calc(50% - 22px);border-color:#fff}

/* ---------- RESPONSIVE ---------- */
@media(max-width:900px){
  .market-hero{grid-template-columns:1fr}.market-grid{gap:12px}.page{max-width:760px}
}
@media(max-width:760px){
  .topbar{padding:0 10px}.page{padding:12px 10px 100px}.post-ad-top{padding:8px 10px}.brand{font-size:17px}.top-actions{gap:4px}.icon-btn{width:36px;height:36px;font-size:17px}
  .market-grid{gap:9px}.shop-logo-stage{height:122px}.shop-main-logo{width:76px;height:76px}.product-image-wrap{aspect-ratio:1/1}.chat-compose{width:calc(100% - 18px);bottom:calc(72px + env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}
}
@media(max-width:560px){
  .topbar{height:60px}.brand{font-size:16px;gap:5px}.brand-bag{width:31px;height:31px;flex-basis:31px}.brand span:last-child{max-width:125px;overflow:hidden;text-overflow:ellipsis}.post-ad-top{display:none}.icon-btn{width:34px;height:34px;font-size:16px;border-radius:10px}.page{padding:10px 9px 98px}
  .hero{padding:16px;border-radius:16px}.hero h1{font-size:23px}.hero p{font-size:12px}.market-head h2{font-size:18px}.section-more{font-size:10px}
  /* categories: 3 compact columns like the reference, but shops/products use 2 columns like a real marketplace */
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shop-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .market-section{margin:21px 0}.section-head{margin-bottom:9px}.market-category{min-height:104px;padding:8px 5px;border-radius:13px;gap:6px}.category-icon{width:46px;height:46px;border-radius:13px;font-size:23px}.market-category>span:last-child{font-size:10px;line-height:1.25}
  .shop-logo-stage{height:112px;padding:10px}.shop-main-logo{width:70px;height:70px;border-radius:16px}.shop-card-body-clean{padding:8px 7px 11px}.shop-card-body-clean strong{font-size:11px}.shop-card-body-clean small{font-size:8px;line-height:1.25}.shop-verified{top:6px;right:6px;padding:3px 5px;font-size:7px}
  .product-image-wrap{aspect-ratio:1/1}.product-info{padding:8px 8px 6px}.product-info h3{font-size:11px;line-height:1.3;margin-bottom:3px}.price{font-size:14px}.product-meta{font-size:8px;margin-top:3px}.product-bottom{font-size:7px;margin-top:5px}.product-actions{padding:0 7px 7px;gap:5px}.product-actions .btn{font-size:9px;padding:8px 4px;border-radius:9px}
  .ad-card{grid-template-columns:92px minmax(0,1fr);gap:10px}.thumb{width:92px;height:92px}.ad-card h3{font-size:15px}.public-shop-banner{height:150px}.public-shop-info{align-items:flex-start}.public-shop-logo{width:65px;height:65px;flex-basis:65px;border-radius:15px}.shop-title-row h1{font-size:19px}.detail-card{padding:14px}.bottom-nav{height:72px}.bottom-nav a{font-size:8px}.bottom-nav span{font-size:19px}.sell-nav span{width:33px;height:33px!important;font-size:21px!important}.bottom-nav .nav-badge{right:calc(50% - 20px);top:4px}
  .chat-compose{bottom:calc(72px + env(safe-area-inset-bottom));padding:6px;border-radius:12px}.chat-compose input{padding:9px;font-size:13px}.chat-compose .btn{padding:9px 11px;font-size:12px}.messages{padding-bottom:82px}.bubble{max-width:86%}
}
@media(max-width:360px){
  .top-actions .icon-btn{width:31px;height:31px;font-size:15px}.brand span:last-child{max-width:105px}.category-grid{gap:6px}.shop-grid,.product-grid{gap:7px}.market-category{min-height:96px}.category-icon{width:42px;height:42px;font-size:21px}.shop-logo-stage{height:98px}.shop-main-logo{width:60px;height:60px}.product-info h3{font-size:10px}.price{font-size:13px}.product-actions .btn{font-size:8px;padding:7px 3px}.product-view-btn{display:none!important}.product-chat-btn{flex:1}.bottom-nav a{font-size:7px}.bottom-nav span{font-size:18px}
}

/* related product cards with chat/view actions */
.ad-card-main{display:grid;grid-template-columns:130px minmax(0,1fr);gap:13px;min-width:0;text-decoration:none;color:inherit;grid-column:1/-1}.ad-card-actions{grid-column:1/-1;display:flex;gap:7px;justify-content:flex-end}.ad-card-actions .btn{padding:8px 11px;font-size:10px}.ad-card:has(.ad-card-main){display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.ad-card-main .thumb{grid-column:auto}
@media(max-width:560px){.ad-card-main{grid-template-columns:92px minmax(0,1fr);gap:10px}.ad-card-actions{justify-content:stretch}.ad-card-actions .btn{flex:1}.ad-card:has(.ad-card-main){padding:8px}.ad-card-main .thumb{width:92px;height:92px}}

/* ===== MOBILE APP E-COMMERCE LAYER ===== */
.app-shell{min-height:100dvh;background:#f7f8fa}
.order-box{scroll-margin-top:80px}
.checkout-summary{margin:12px 0;padding:12px;border:1px solid #dce8e4;border-radius:14px;background:#f5fbf9}
.checkout-summary>div{display:flex;align-items:center;justify-content:space-between;padding:7px 0;color:#66747d;font-size:12px}
.checkout-summary .checkout-total{margin-top:5px;padding-top:10px;border-top:1px dashed #cbdcd7;color:#17211f;font-size:15px}
.checkout-summary .checkout-total b{font-size:19px;color:#008f6f}
.payment-method-card{display:flex;flex-direction:column;gap:2px;margin:12px 0;padding:12px;border:1px solid #cde5de;border-radius:13px;background:#edf9f5;color:#007b60}
.payment-method-card span{font-size:11px;font-weight:700}
.payment-method-card strong{font-size:15px}
.payment-method-card small{font-size:10px;color:#62756f}
.app-product-bar{position:sticky;top:60px;z-index:40;background:#fff;border-bottom:1px solid #e5e9ee;padding:8px 10px}
@media(max-width:560px){
  body{background:#f7f8fa}
  .page{max-width:480px;margin:0 auto}
  .topbar{box-shadow:0 2px 10px rgba(20,35,45,.08)}
  .market-grid{grid-auto-flow:row}
  .market-category,.shop-card,.market-product{box-shadow:0 3px 12px rgba(20,35,45,.055)}
  .market-product{border-radius:12px}
  .product-image-wrap{background:#f0f2f3}
  .product-actions .btn{min-height:34px}
  .checkout-summary{font-size:11px}
  .details-image{max-height:390px;border-radius:12px}
  .detail-card{border-radius:14px}
}

/* =========================================================
   SHERPUR BUY SELL — APP UI V2 (matches supplied mockup)
   ========================================================= */
:root{--app-green:#08a66f;--app-green-dark:#008b61;--app-soft:#effaf6;--app-line:#e8eeec;--app-text:#17231f;--app-muted:#718079;--app-bg:#f7f9f8}
body{background:var(--app-bg);font-size:14px;padding-bottom:76px}.topbar.app-topbar{height:62px;background:#fff;border-bottom:1px solid #edf1ef;padding:0 12px;box-shadow:0 2px 12px rgba(0,50,35,.05)}
.app-topbar .brand{gap:8px;color:#17231f;font-size:15px;line-height:1.05}.app-topbar .brand b{color:var(--app-green)}.app-topbar .brand small{display:block;color:#7a8781;font-size:8px;font-weight:600;margin-top:3px}.app-topbar .brand-bag{width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#10b980,#00865f);font-size:18px}.app-topbar .top-actions{gap:6px}.app-topbar .icon-btn{width:35px;height:35px;border:0;background:#f2f6f4;border-radius:50%;font-size:17px}.app-topbar .post-ad-top{display:none}
.page{max-width:520px;margin:0 auto;padding:10px 10px 92px}.app-hero{min-height:156px;border-radius:18px;background:linear-gradient(135deg,#08aa72,#00935f);color:#fff;padding:17px 16px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;box-shadow:0 8px 22px rgba(0,137,96,.16);position:relative}.app-hero:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-70px;top:-60px;background:rgba(255,255,255,.08)}.app-hero-copy{position:relative;z-index:2;min-width:0}.app-kicker{font-size:8px;font-weight:900;letter-spacing:1px;opacity:.9}.app-hero h1{font-size:20px;line-height:1.28;margin:5px 0}.app-hero h1 b{color:#d8ffef}.app-hero p{font-size:10px;margin:0 0 11px;opacity:.92}.app-search{height:38px;background:#fff;border-radius:11px;display:flex;align-items:center;padding:0 8px;color:#93a09a;box-shadow:0 5px 16px rgba(0,0,0,.09);width:min(330px,100%)}.app-search span{font-size:19px;margin-right:5px}.app-search input{border:0;outline:0;flex:1;min-width:0;font-size:11px;color:#25312d;background:transparent}.app-search button{border:0;background:var(--app-green);color:#fff;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:800}.app-hero-art{font-size:64px;opacity:.95;filter:drop-shadow(0 10px 15px rgba(0,0,0,.13));margin-right:6px}
.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0 17px}.quick-actions>a{background:#fff;border:1px solid var(--app-line);border-radius:13px;padding:10px 5px;text-decoration:none;text-align:center;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;box-shadow:0 4px 13px rgba(20,45,35,.04)}.quick-actions b{font-size:9px;line-height:1.3;color:#33413b}.qa-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-weight:900;font-size:18px;flex:0 0 31px}.qa-plus{background:#e8f8f2;color:#009766}.qa-check{background:#eaf1ff;color:#3171d9}.qa-user{background:#fff3dc;color:#d68c00}
.app-section{margin:18px 0}.app-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 9px}.app-section-head h2{margin:0;font-size:15px;color:#18241f}.app-section-head a{color:var(--app-green);font-size:10px;text-decoration:none;font-weight:800;white-space:nowrap}.app-section-head small{display:block;color:#8a9691;font-size:8px;margin-top:2px}.category-scroller,.shop-scroller{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 5px}.category-scroller::-webkit-scrollbar,.shop-scroller::-webkit-scrollbar{display:none}.category-mini{flex:0 0 72px;text-decoration:none;text-align:center;color:#27332e}.category-mini span{width:50px;height:50px;border-radius:50%;background:#fff;border:1px solid #e4ece8;display:grid;place-items:center;font-size:24px;margin:0 auto 5px;box-shadow:0 4px 12px rgba(30,55,45,.05)}.category-mini b{display:block;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shop-card{flex:0 0 96px;background:#fff;border:1px solid var(--app-line);border-radius:13px;padding:9px 6px;text-align:center;text-decoration:none;color:#27332e;box-shadow:0 4px 13px rgba(20,45,35,.045)}.app-shop-logo{width:56px;height:56px;margin:0 auto 6px;position:relative}.app-shop-logo img,.app-shop-logo span{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;object-fit:cover;background:#edf7f3;border:1px solid #dcebe6;font-size:20px;font-weight:900;color:#087c5b}.app-shop-logo i{position:absolute;right:-1px;bottom:0;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#0aaa72;color:#fff;border:2px solid #fff;font-size:8px;font-style:normal}.app-shop-card>b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shop-card small{font-size:7px;color:#0a9c6b}
.app-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-product-grid .market-product{border-radius:13px;box-shadow:0 4px 14px rgba(20,45,35,.055);border-color:#e7edeb}.app-product-grid .product-image-wrap{aspect-ratio:1/1;background:#f1f4f3}.app-product-grid .product-info{padding:8px 8px 4px}.app-product-grid .product-info h3{font-size:11px;margin-bottom:4px}.app-product-grid .price{font-size:15px;color:#008d62}.app-product-grid .product-meta{font-size:8px}.app-product-grid .product-bottom{font-size:8px;margin-top:5px}.app-product-grid .product-actions{padding:2px 7px 7px;gap:5px}.app-product-grid .product-actions .btn{padding:7px 4px;font-size:9px;border-radius:8px;min-height:30px}.app-product-grid .verified-badge{font-size:7px;padding:3px 5px}.app-warning{background:#fff9e9;border:1px solid #f1e4bd;border-radius:11px;padding:9px 10px;color:#765f28;font-size:9px;line-height:1.5;margin:18px 0}
.bottom-nav.app-bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(520px,100%);height:66px;background:rgba(255,255,255,.97);backdrop-filter:blur(15px);border-top:1px solid #e5ebe8;z-index:100;display:grid;grid-template-columns:repeat(5,1fr);padding:5px 5px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px rgba(15,35,28,.07)}.app-bottom-nav>a{position:relative;text-decoration:none;color:#75827c;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:8px;font-weight:700;border-radius:12px}.app-bottom-nav>a span{font-size:19px;line-height:20px}.app-bottom-nav>a:hover,.app-bottom-nav>a.active{color:var(--app-green)}.app-bottom-nav .sell-nav{margin:-16px 7px 0;background:linear-gradient(145deg,#0bb77f,#008a60);color:#fff;border-radius:50%;width:48px;height:48px;align-self:start;justify-self:center;box-shadow:0 7px 17px rgba(0,145,100,.25);font-size:7px}.app-bottom-nav .sell-nav span{font-size:25px}.app-bottom-nav .nav-badge{top:-4px;right:9px;border-color:#fff;width:15px;height:15px;min-width:15px;font-size:7px}.app-bottom-nav .nav-relative>span{position:relative}
/* Detail / shop / chat also inherit the same app language */
.detail-card,.form-card{border-radius:14px;box-shadow:0 5px 17px rgba(20,45,35,.05);border-color:#e6ece9;padding:13px}.details-image{border-radius:14px;background:#fff;max-height:390px}.detail-card h1{font-size:20px}.detail-card h2{font-size:15px}.detail-card .price{font-size:22px}.public-shop-head{background:#fff;border:1px solid #e5ece9;border-radius:15px;overflow:hidden;box-shadow:0 5px 16px rgba(20,45,35,.05)}.public-shop-banner{width:100%;height:135px;object-fit:cover}.public-shop-info{display:flex;gap:11px;padding:12px;align-items:center}.public-shop-logo{width:56px;height:56px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 3px 14px rgba(0,0,0,.1);margin-top:-28px;background:#edf7f3}.shop-mini-letter{display:grid;place-items:center;color:#087c5b;font-size:22px;font-weight:900}.public-shop-info h1{font-size:17px;margin:0}.public-shop-info p{font-size:9px;margin:3px 0}.public-shop-info .meta{font-size:8px}.chat-room{border:1px solid #e5ece9;border-radius:15px;background:#f2f7f5;overflow:hidden}.messages{min-height:430px;max-height:58vh;overflow:auto;padding:12px}.chat-compose{display:flex;gap:7px;padding:8px;background:#fff;border-top:1px solid #e5ece9}.chat-compose input{flex:1;border:1px solid #dfe7e3;border-radius:20px;padding:10px 12px;outline:0;font-size:11px}.chat-product-card{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5ece9;border-radius:12px;padding:8px;margin-bottom:9px}.chat-product-card img{width:48px;height:48px;object-fit:cover;border-radius:9px}.chat-product-info{flex:1;min-width:0}.chat-product-info b,.chat-product-info span{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-product-info span{color:#75827c;margin-top:2px}.notice{border-radius:11px;font-size:10px}.field label{font-size:10px}.field input,.field textarea,.select{border-radius:9px;font-size:11px}.checkout-summary{border-radius:11px}.payment-method-card{border-radius:11px}
@media(min-width:700px){body{background:#eef3f1}.page{background:var(--app-bg);min-height:calc(100vh - 62px);box-shadow:0 0 35px rgba(0,0,0,.04)}.app-hero{min-height:185px}.app-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-actions>a{padding:13px}.category-mini{flex-basis:80px}}
@media(max-width:360px){.app-hero-art{font-size:50px}.app-hero h1{font-size:18px}.quick-actions b{font-size:8px}.category-mini{flex-basis:66px}.app-shop-card{flex-basis:88px}}

/* Premium chat/product/order contact patch */
.order-btn{background:#ff7a18!important;color:#fff!important}
.whatsapp-btn{background:#16b45b!important;color:#fff!important}
.order-product-preview{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:9px;border:1px solid #e3ebe7;border-radius:12px;background:#f8fbfa}
.order-product-preview img{width:72px;height:72px;object-fit:cover;border-radius:10px;background:#eef3f1}
.order-product-preview b{display:block;font-size:13px}.order-product-preview small{display:block;color:#74817c;font-size:10px;margin-top:3px}
.chat-product-inline{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit;background:#fff;border:1px solid #dce8e3;border-radius:12px;padding:7px;margin-bottom:6px;max-width:310px}
.chat-product-inline img{width:54px;height:54px;object-fit:cover;border-radius:9px;background:#eef3f1;flex:0 0 54px}
.chat-product-inline span{display:flex;flex-direction:column;min-width:0;flex:1}.chat-product-inline b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-product-inline small{font-size:8px;color:#77837f}.chat-product-inline strong{font-size:11px;color:#008f6f}.chat-product-inline i{font-size:20px;color:#84928d}
.chat-product-separator{display:flex;justify-content:center;margin:10px 0}.chat-product-separator .chat-product-inline{max-width:94%;width:100%;box-shadow:0 3px 12px rgba(15,50,40,.06)}
.bubble{position:relative;max-width:78%;padding:9px 11px;border-radius:15px;margin:7px 0;font-size:12px;line-height:1.5;word-break:break-word;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.bubble.mine{margin-left:auto;background:#d9fdd3;border-bottom-right-radius:5px;color:#10251c}.bubble.them{margin-right:auto;background:#fff;border-bottom-left-radius:5px;color:#20302b}
.bubble small{display:block;text-align:right;font-size:8px;color:#73807a;margin-top:3px}.bubble.mine small{color:#008f6f}
@media(max-width:600px){.product-actions .order-btn{display:flex!important}.order-product-preview img{width:62px;height:62px}.chat-product-inline{max-width:100%}.bubble{max-width:88%}.chat-compose{z-index:200}}
/* Custom SKU + seller order search */
.order-search{display:flex;gap:7px;align-items:center;margin:0 0 12px;padding:9px;background:#fff;border:1px solid #e5ece9;border-radius:13px;box-shadow:0 4px 14px rgba(20,45,35,.04)}
.order-search input{flex:1;min-width:0;border:1px solid #dce6e1;border-radius:9px;padding:10px 11px;font-size:11px;outline:0;background:#fbfdfc}.order-search input:focus{border-color:#0aa873;box-shadow:0 0 0 3px rgba(10,168,115,.08)}.seller-order-card .order-product-preview small+small{margin-top:2px}.seller-order-card .order-product-preview strong{color:#008d62}
@media(max-width:600px){.order-search{position:sticky;top:6px;z-index:20}.order-search .btn{white-space:nowrap;padding:9px 10px}.seller-order-card{overflow:hidden}}
/* Final food marketplace + coded homepage slider */
.home-slider{position:relative;margin:0 0 14px;border-radius:18px;overflow:hidden;min-height:185px;background:#0a8f6b;box-shadow:0 9px 28px rgba(20,60,45,.12)}
.home-slide{display:none;position:relative;min-height:185px;padding:24px 20px;background:linear-gradient(125deg,var(--slide-a),var(--slide-b));color:var(--slide-text);overflow:hidden;align-items:center;gap:15px}.home-slide.show{display:flex}.home-slide.slide-pos-center{justify-content:center;text-align:center}.home-slide.slide-pos-right{justify-content:flex-end;text-align:right}.slide-copy{position:relative;z-index:3;max-width:78%}.slide-copy>span{font-size:8px;font-weight:900;letter-spacing:2px;opacity:.82}.slide-copy h1{font-size:23px;line-height:1.2;margin:7px 0}.slide-copy p{font-size:10px;opacity:.9;margin:0 0 12px}.slide-btn{display:inline-block;text-decoration:none;background:rgba(255,255,255,.96);color:#087b5b;border-radius:999px;padding:8px 13px;font-size:10px;font-weight:900}.slide-icon{position:relative;z-index:3;font-size:50px;filter:drop-shadow(0 8px 10px rgba(0,0,0,.12))}.slide-decor{position:absolute;right:-25px;top:-35px;font-size:170px;opacity:.09}.slider-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:5px;z-index:5}.slider-dots button{width:7px;height:7px;border:0;border-radius:50%;background:rgba(255,255,255,.45);padding:0}.slider-dots button.active{width:19px;border-radius:99px;background:#fff}.template-2 .slide-icon{order:2}.template-3{border-radius:18px}.template-4 .slide-decor{right:auto;left:-25px}.template-5{border-radius:18px}
.food-feature{margin:15px 0;padding:12px;border-radius:18px;background:linear-gradient(145deg,#fff4e9,#fff);border:1px solid #ffe0bf;box-shadow:0 8px 22px rgba(135,74,25,.07)}.food-feature-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.food-feature-head span{font-size:8px;font-weight:900;letter-spacing:1.5px;color:#e76c17}.food-feature-head h2{font-size:18px;margin:3px 0;color:#492817}.food-feature-head p{font-size:9px;color:#8b6c58;margin:0}.food-feature-head>a{font-size:9px;color:#e25f0c;font-weight:900;text-decoration:none;white-space:nowrap}.food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.food-card{display:block;background:#fff;border:1px solid #f3dfcf;border-radius:14px;overflow:hidden;text-decoration:none;color:#2c2926;box-shadow:0 5px 15px rgba(120,70,30,.06)}.food-img{position:relative;aspect-ratio:1/1;background:#fff0df;overflow:hidden}.food-img img{width:100%;height:100%;object-fit:cover}.food-img span{position:absolute;left:7px;top:7px;background:#f56c17;color:#fff;border-radius:999px;padding:4px 6px;font-size:7px;font-weight:900}.food-card-body{padding:8px}.food-card-body>b{display:block;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.food-card-body>strong{display:block;color:#e85f0a;font-size:15px;margin:3px 0}.food-card-body small{display:block;color:#8b7669;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.food-card-body em{display:block;font-style:normal;color:#fff;background:#ed6a17;border-radius:8px;text-align:center;font-size:9px;font-weight:900;padding:7px;margin-top:7px}.food-page-hero{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px;border-radius:18px;background:linear-gradient(135deg,#8f3100,#ff8a26);color:#fff;box-shadow:0 10px 28px rgba(154,66,0,.18);margin-bottom:15px}.food-page-hero span{font-size:8px;letter-spacing:2px;font-weight:900}.food-page-hero h1{font-size:22px;line-height:1.25;margin:7px 0}.food-page-hero p{font-size:10px;margin:0;opacity:.9}.food-hero-icon{font-size:58px}.food-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.food-page-card .food-card-body{padding:10px}.guest-low-priority{opacity:.91;transform:scale(.985)}.guest-low-note{font-size:9px;background:#f4f7f5;border:1px dashed #cbd9d3;padding:9px;border-radius:10px;color:#63716b;margin:14px 0}
.food-post-box{padding:12px;border-radius:13px;background:#fff7ee;border:1px solid #ffd9b5;margin:8px 0 12px}.food-post-box>b{display:block;color:#e65e0c}.food-post-box p{font-size:9px;color:#806c5e}.food-post-box input{width:100%;box-sizing:border-box}.food-post-box strong{display:block;margin-top:7px;color:#e65e0c;font-size:11px}.pending-stat{border-color:#ffd7aa!important;background:#fff8ef!important}.banner-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.banner-template-card{min-height:75px;border-radius:12px;padding:10px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#006f52,#11b985);font-size:10px}.banner-template-card span{font-size:9px;opacity:.9}.bt2{background:linear-gradient(135deg,#b64200,#ff9a3d)}.bt3{background:linear-gradient(135deg,#193a8a,#4b7bec)}.bt4{background:linear-gradient(135deg,#5c2a8a,#b55cff)}.bt5{background:linear-gradient(135deg,#075985,#12a4d9)}
@media(max-width:600px){.home-slide{min-height:168px;padding:18px 15px}.slide-copy h1{font-size:19px}.slide-icon{font-size:42px}.slide-copy{max-width:82%}.banner-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.food-page-hero h1{font-size:18px}.food-hero-icon{font-size:45px}}
.admin-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:15px 0}.admin-link-grid .btn{display:flex;align-items:center;justify-content:center;gap:5px}.admin-link-grid .btn b{background:#fff3e2;color:#c76b00;border-radius:999px;padding:2px 6px;font-size:9px}@media(max-width:600px){.admin-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-link-grid .btn{font-size:9px;padding:9px 5px}}

/* Header registration action */
.register-mini{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border-radius:10px;text-decoration:none;font-weight:800;font-size:13px;background:#10bd91;color:#06110e;border:1px solid rgba(255,255,255,.12);white-space:nowrap}
.register-mini:hover{filter:brightness(1.05)}
@media(max-width:520px){.register-mini{padding:7px 8px;font-size:12px}.login-mini{padding:7px 8px;font-size:12px}}


/* Homepage shop strip: exactly 5 shops per row, compact round logos. */
.home-shop-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:3px}
.home-shop-card{min-width:0;background:#fff;border:1px solid var(--app-line);border-radius:12px;padding:7px 3px 8px;text-align:center;text-decoration:none;color:#27332e;box-shadow:0 3px 12px rgba(20,45,35,.045);overflow:hidden}
.home-shop-logo{width:46px;height:46px;margin:0 auto 5px;position:relative}
.home-shop-logo img,.home-shop-logo span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;object-fit:cover;background:#edf7f3;border:1px solid #dcebe6;font-size:17px;font-weight:900;color:#087c5b}
.home-shop-logo i{position:absolute;right:-1px;bottom:-1px;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;background:#0aaa72;color:#fff;border:2px solid #fff;font-size:7px;font-style:normal;line-height:1}
.home-shop-card>b{display:block;font-size:8px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.verified-home-shop>b{color:#17231f}
.general-shop-grid .home-shop-card{padding-bottom:7px}
.all-shops-button{display:flex;align-items:center;justify-content:center;margin-top:9px;height:34px;border-radius:10px;background:#eaf8f3;color:#008d62;text-decoration:none;font-size:10px;font-weight:900;border:1px solid #d8eee6}
.chat-product-link{color:#008f6f!important;font-size:8px!important;font-weight:800;margin-top:2px}
@media(max-width:380px){.home-shop-grid{gap:5px}.home-shop-card{padding-left:2px;padding-right:2px}.home-shop-logo,.home-shop-logo img,.home-shop-logo span{width:42px;height:42px}.home-shop-card>b{font-size:7px}}

@media(max-width:600px){.public-shop-logo{width:54px;height:54px;margin-top:-25px;border-width:3px}.shop-mini-letter{font-size:20px}.public-shop-info{gap:9px;padding:10px}.public-shop-info h1{font-size:15px}}

/* Verified Category Showcase — compact coded banner + right-to-left random product rail */
.verified-category-showcase{margin:18px 0 8px;padding:12px 0 2px}
.verified-category-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 9px}
.verified-category-heading span{display:block;color:#0a9c6b;font-size:8px;font-weight:900;letter-spacing:1.6px}
.verified-category-heading h2{margin:3px 0 0;font-size:16px;color:#18241f}
.verified-category-heading>a{color:#008f6f;text-decoration:none;font-size:9px;font-weight:900;white-space:nowrap}
.verified-category-block{margin:0 0 17px}
.category-mini-banner{position:relative;min-height:56px;border-radius:13px;overflow:hidden;display:flex;align-items:center;gap:9px;padding:8px 10px;color:var(--cb-text);background:linear-gradient(110deg,var(--cb-a),var(--cb-b));box-shadow:0 6px 18px rgba(20,55,45,.10);isolation:isolate}
.category-mini-banner:after{content:"";position:absolute;right:-24px;top:-36px;width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.11);z-index:-1}
.category-mini-banner:before{content:"✦";position:absolute;right:54px;bottom:-18px;font-size:68px;opacity:.08;z-index:-1}
.category-mini-banner-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:19px;border:1px solid rgba(255,255,255,.18)}
.category-mini-banner-copy{min-width:0;flex:1}
.category-mini-banner-copy>span{display:block;font-size:6px;font-weight:900;letter-spacing:1.3px;opacity:.78}
.category-mini-banner-copy>b{display:block;font-size:12px;line-height:1.2;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-mini-banner-copy>small{display:block;font-size:7px;opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.category-mini-banner-cat{display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);white-space:nowrap;max-width:34%}
.category-mini-banner-cat strong{font-size:13px}.category-mini-banner-cat span{font-size:7px;font-weight:900;overflow:hidden;text-overflow:ellipsis}
.category-banner-template-2{border-radius:15px}.category-banner-template-3{border-radius:9px}.category-banner-template-4{border-radius:16px}.category-banner-template-5{border-radius:11px}
.verified-category-pill{display:flex;align-items:center;gap:6px;margin:7px 2px 7px;padding:6px 9px;border:1px solid #dfece7;background:#fbfefd;border-radius:9px;text-decoration:none;color:#27332e;box-shadow:0 2px 8px rgba(20,45,35,.03)}
.verified-category-pill span{font-size:14px}.verified-category-pill b{font-size:9px}.verified-category-pill small{margin-left:auto;color:#0a9c6b;font-size:7px;font-weight:900}
.category-product-marquee{overflow:hidden;width:100%;position:relative;padding:1px 0 6px;mask-image:linear-gradient(to right,transparent 0,#000 3%,#000 97%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 3%,#000 97%,transparent 100%)}
.category-product-track{display:flex;gap:8px;width:max-content;animation:categoryRail var(--rail-speed,26s) linear infinite;will-change:transform}
.category-product-marquee:hover .category-product-track,.category-product-marquee:active .category-product-track{animation-play-state:paused}
@keyframes categoryRail{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.category-rail-card{width:118px;flex:0 0 118px;background:#fff;border:1px solid #e2ece8;border-radius:12px;overflow:hidden;text-decoration:none;color:#25312c;box-shadow:0 4px 13px rgba(20,45,35,.05)}
.category-rail-img{height:88px;background:#f2f6f4;overflow:hidden}.category-rail-img img{width:100%;height:100%;object-fit:cover;display:block}
.category-rail-body{padding:6px 7px 7px}.category-rail-body>b{display:block;font-size:8px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-rail-body>strong{display:block;color:#008f6f;font-size:12px;margin:2px 0}.category-rail-body>small{display:block;color:#7b8882;font-size:6.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-rail-body>em{display:inline-block;margin-top:4px;font-style:normal;color:#0a9c6b;background:#eaf8f3;border-radius:999px;padding:2px 5px;font-size:6px;font-weight:900}
.category-mini-banner + .verified-category-pill + .category-product-marquee{border-bottom:1px solid #edf2ef}
@media(max-width:600px){.verified-category-showcase{margin-top:15px}.category-mini-banner{min-height:52px;padding:7px 8px;gap:7px}.category-mini-banner-icon{width:31px;height:31px;flex-basis:31px;font-size:17px}.category-mini-banner-copy>b{font-size:10px}.category-mini-banner-copy>small{font-size:6px}.category-mini-banner-cat{max-width:31%;padding:4px 6px}.category-mini-banner-cat span{font-size:6px}.category-rail-card{width:108px;flex-basis:108px}.category-rail-img{height:82px}.category-rail-body{padding:5px 6px}.category-rail-body>b{font-size:7.5px}.category-rail-body>strong{font-size:11px}}
@media(max-width:380px){.category-mini-banner-cat span{display:none}.category-mini-banner-copy>b{font-size:9.5px}.category-rail-card{width:102px;flex-basis:102px}.category-rail-img{height:76px}}

/* ===== Shops page: compact logo/name marketplace ===== */
.shops-page-compact{max-width:1100px;margin:0 auto}.shops-page-title{margin:10px 0 14px;padding:12px 13px;border:1px solid var(--app-line,#e5ece9);border-radius:14px;background:linear-gradient(135deg,#f4fbf8,#fff);text-align:center}.shops-page-title>span{font-size:7px;font-weight:900;letter-spacing:1.8px;color:#0a9c6b}.shops-page-title h1{margin:3px 0 1px;font-size:18px;color:#14231e}.shops-page-title p{margin:0;color:#6e7b75;font-size:9px}.shops-category-showcase{margin-bottom:15px}.shops-category-block{margin-bottom:12px}.shops-category-empty{padding:11px 12px;text-align:center;border:1px dashed #d9e6e1;border-radius:10px;background:#fbfdfc;color:#7b8882;font-size:9px}.shops-mini-section{margin-top:16px}.shops-logo-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.shops-logo-card{min-width:0;text-decoration:none;color:#26332e;text-align:center;padding:7px 3px 8px;border:1px solid #e5ece9;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(20,45,35,.045)}.shops-logo-circle{width:52px;height:52px;margin:0 auto 5px;position:relative}.shops-logo-circle img,.shops-logo-circle span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;object-fit:cover;background:#edf7f3;border:1px solid #dcebe6;font-size:20px;font-weight:900;color:#087c5b}.shops-logo-circle i{position:absolute;right:-2px;bottom:0;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#08a871;color:#fff;border:2px solid #fff;font-size:8px;font-style:normal}.shops-logo-card>b{display:block;font-size:8px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.general-logo-row .shops-logo-card{padding-bottom:7px}.shops-category-grid{margin-top:4px}.admin-action-cell{white-space:normal;min-width:170px}.admin-action-cell .small-btn{margin:2px 2px 2px 0}
@media(max-width:600px){.shops-page-title{margin:7px 0 10px;padding:10px}.shops-page-title h1{font-size:15px}.shops-logo-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.shops-logo-card{padding:5px 2px 6px;border-radius:10px}.shops-logo-circle,.shops-logo-circle img,.shops-logo-circle span{width:44px;height:44px}.shops-logo-circle{margin-bottom:4px}.shops-logo-card>b{font-size:7px}.shops-logo-circle i{width:14px;height:14px;font-size:7px}.shops-category-empty{font-size:8px;padding:9px}.admin-action-cell{min-width:150px}}

/* ===== Shops page final ordering + horizontal category sliders ===== */
.shops-filter-section{margin-top:8px}
.shops-category-showcase{margin-top:18px}
.shops-category-marquee{overflow:hidden;width:100%;padding:2px 0 7px;mask-image:linear-gradient(to right,transparent 0,#000 3%,#000 97%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 3%,#000 97%,transparent 100%)}
.shops-category-track{display:flex;gap:7px;width:max-content;animation:shopsCategoryRail 28s linear infinite;will-change:transform}
.shops-category-marquee:hover .shops-category-track,.shops-category-marquee:active .shops-category-track{animation-play-state:paused}
.shops-slide-category{flex:0 0 118px;width:118px;display:flex!important;align-items:center;justify-content:center;gap:5px;white-space:nowrap;overflow:hidden}
@keyframes shopsCategoryRail{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.shops-product-marquee .category-product-track{animation-name:shopsProductRail}
@keyframes shopsProductRail{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(max-width:600px){.shops-slide-category{flex-basis:104px;width:104px}.shops-category-track{gap:5px;animation-duration:24s}.shops-category-showcase{margin-top:14px}}




/* =========================================================
   FINAL HEADER POSITION & COLOR
   ========================================================= */

.topbar.app-topbar {
    height: 72px !important;
    background: #008f6f !important;
    color: #fff !important;
    border-bottom: 0 !important;
    box-shadow: 0 4px 16px rgba(0,80,60,.18) !important;
}

/* Brand + লেখা নিচে */
.topbar.app-topbar .brand {
    color: #fff !important;
    transform: translateY(9px) !important;
}

/* Sherpur এবং Buy Sell */
.topbar.app-topbar .brand b,
.topbar.app-topbar .brand span,
.topbar.app-topbar .brand small {
    color: #fff !important;
}

/* ছোট লেখা */
.topbar.app-topbar .brand small {
    margin-top: 3px;
}

/* Bag */
.topbar.app-topbar .brand-bag {
    background: rgba(255,255,255,.16) !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* ডান পাশের Search / Chat / Order / Bell / Account */
.topbar.app-topbar .top-actions {
    transform: translateY(9px) !important;
}

.topbar.app-topbar .icon-btn {
    color: #fff !important;
    background: rgba(255,255,255,.13) !important;
    border-color: rgba(255,255,255,.28) !important;
}

.topbar.app-topbar .icon-btn:hover {
    color: #fff !important;
    background: rgba(255,255,255,.23) !important;
}

/* Badge */
.topbar.app-topbar .nav-badge {
    background: #ff4d5a !important;
    color: #fff !important;
    border-color: #008f6f !important;
}

/* Login */
.topbar.app-topbar .login-mini {
    color: #fff !important;
    background: transparent !important;
    border-color: rgba(255,255,255,.65) !important;
}

/* Registration */
.topbar.app-topbar .register-mini {
    color: #008f6f !important;
    background: #fff !important;
    border-color: #fff !important;
}


/* ================= MOBILE ================= */

@media (max-width: 760px) {
    .topbar.app-topbar {
        height: 90px !important;
    }

    .topbar.app-topbar .brand {
        transform: translateY(10px) !important;
    }

    .topbar.app-topbar .top-actions {
        transform: translateY(10px) !important;
    }
}

@media (max-width: 560px) {
    .topbar.app-topbar {
        height: 68px !important;
    }

    .topbar.app-topbar .brand {
        transform: translateY(8px) !important;
    }

    .topbar.app-topbar .top-actions {
        transform: translateY(8px) !important;
    }
}


/* =========================================================
   HEADER — FORCE CONTENT LOWER
   ========================================================= */

.topbar.app-topbar{
    position:sticky !important;
    top:0 !important;
    height:90px !important;

    background:#008f6f !important;
    color:#fff !important;

    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;

    padding-top:0 !important;
    padding-bottom:14px !important;

    border-bottom:0 !important;
    box-shadow:0 4px 16px rgba(0,80,60,.18) !important;
}

/* বাম পাশের Logo + লেখা */
.topbar.app-topbar .brand{
    display:flex !important;
    align-items:center !important;

    color:#fff !important;

    transform:none !important;
    margin:0 !important;
    padding:0 !important;
}

/* সব Brand লেখা সাদা */
.topbar.app-topbar .brand,
.topbar.app-topbar .brand b,
.topbar.app-topbar .brand span,
.topbar.app-topbar .brand small{
    color:#fff !important;
}

/* Bag */
.topbar.app-topbar .brand-bag{
    background:rgba(255,255,255,.16) !important;
    color:#fff !important;
    box-shadow:none !important;
}

/* ডান পাশের সব Icon */
.topbar.app-topbar .top-actions{
    display:flex !important;
    align-items:center !important;

    transform:none !important;
    margin:0 !important;
    padding:0 !important;
}

/* Icon */
.topbar.app-topbar .icon-btn{
    color:#fff !important;
    background:rgba(255,255,255,.13) !important;
    border-color:rgba(255,255,255,.28) !important;
}

.topbar.app-topbar .icon-btn:hover{
    color:#fff !important;
    background:rgba(255,255,255,.23) !important;
}

/* Badge */
.topbar.app-topbar .nav-badge{
    background:#ff4d5a !important;
    color:#fff !important;
    border-color:#008f6f !important;
}

/* Login */
.topbar.app-topbar .login-mini{
    color:#fff !important;
    background:transparent !important;
    border-color:rgba(255,255,255,.65) !important;
}

/* Registration */
.topbar.app-topbar .register-mini{
    color:#008f6f !important;
    background:#fff !important;
    border-color:#fff !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:760px){

    .topbar.app-topbar{
        height:86px !important;
        padding-left:10px !important;
        padding-right:10px !important;
        padding-bottom:12px !important;

        align-items:flex-end !important;
    }

    .topbar.app-topbar .brand{
        transform:none !important;
        margin-bottom:0 !important;
    }

    .topbar.app-topbar .top-actions{
        transform:none !important;
        margin-bottom:0 !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:560px){

    .topbar.app-topbar{
        height:82px !important;
        padding-bottom:11px !important;
    }

    .topbar.app-topbar .brand{
        transform:none !important;
    }

    .topbar.app-topbar .top-actions{
        transform:none !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:360px){

    .topbar.app-topbar{
        height:80px !important;
        padding-left:8px !important;
        padding-right:8px !important;
        padding-bottom:10px !important;
    }

    .topbar.app-topbar .brand{
        transform:none !important;
    }

    .topbar.app-topbar .top-actions{
        transform:none !important;
    }

    .topbar.app-topbar .top-actions .icon-btn{
        width:31px !important;
        height:31px !important;
        font-size:15px !important;
    }
}