/* Mall page (mall.php). Plain white cards on the page background, orange actions, mall blue for the verified bits. */
#section-mall{max-width:720px;margin:0 auto;padding:0 0 90px;color:#1c1917}
#section-mall [hidden]{display:none !important}
#section-mall .mlp-top{position:sticky;top:var(--pp-header-h,0);z-index:4;height:52px;display:flex;align-items:center;gap:6px;padding:0 6px;background:#fff;border-bottom:1px solid #e7e5e4}
#section-mall .mlp-top b{font-size:17px}
#section-mall .mlp-top small{display:block;font-size:12px;color:#57534e}
#section-mall .mlp-back{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#1c1917;cursor:pointer;text-decoration:none}
#section-mall .mlp-cover{height:120px;background:#1e3a8a center/cover no-repeat;position:relative;color:rgba(255,255,255,.3);display:flex;justify-content:flex-end;padding:12px 16px 0}
#section-mall .mlp-cover[style] svg{display:none}
#section-mall .mlp-head{background:#fff;padding:12px 14px 14px;margin-top:-18px;border-radius:18px 18px 0 0;position:relative}
#section-mall .mlp-name{display:flex;align-items:center;gap:6px}
#section-mall .mlp-name b{font-size:21px;line-height:1.25}
#section-mall .mlp-vchip{display:inline-block;margin-top:2px;font-size:11px;font-weight:700;color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:1px 8px}
#section-mall .mlp-addr{font-size:13px;color:#57534e;margin-top:6px}
#section-mall .mlp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;text-align:center}
#section-mall .mlp-stats div{background:#fafaf9;border-radius:10px;padding:8px 4px}
#section-mall .mlp-stats b{display:block;font-size:18px;color:#c2410c}
#section-mall .mlp-stats span{font-size:11px;color:#57534e}
#section-mall .mlp-acts{display:flex;gap:8px;margin-top:12px}
#section-mall .mlp-fav,#section-mall .mlp-add{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#section-mall .mlp-fav{border:1.5px solid #78716c;background:#fff;color:#1c1917}
#section-mall .mlp-fav.is-on{border-color:#e11d48;background:#fff1f2}
#section-mall .mlp-fav.is-on svg{color:#e11d48}
#section-mall .mlp-fav.is-on svg path{fill:#e11d48}
#section-mall .mlp-add{border:0;background:#ea580c;color:#fff}
#section-mall .mlp-mine{margin-top:12px;border-radius:10px;padding:10px 12px;font-size:13px;background:#fffbeb;color:#92400e}
#section-mall .mlp-mine b,#section-mall .mlp-mine span{display:block}
#section-mall .mlp-mine.is-approved{background:#f0fdf4;color:#166534}
#section-mall .mlp-mine.is-rejected{background:#fef2f2;color:#991b1b}
#section-mall .mlp-tools{position:sticky;top:calc(var(--pp-header-h,0px) + 52px);z-index:3;background:#f3f4f6;padding:10px 10px 6px}
#section-mall .mlp-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e7e5e4;border-radius:12px;padding:0 12px;min-height:44px;color:#78716c}
#section-mall .mlp-search input{flex:1;min-width:0;border:0;outline:none;font:inherit;font-size:14px;background:transparent;color:#1c1917}
#section-mall .mlp-floors{display:flex;gap:6px;overflow-x:auto;margin-top:8px;scrollbar-width:none}
#section-mall .mlp-floors::-webkit-scrollbar{display:none}
#section-mall .mlp-floors button{flex-shrink:0;min-height:34px;padding:0 14px;border-radius:999px;border:1px solid #e7e5e4;background:#fff;color:#44403c;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
#section-mall .mlp-floors button.is-on{background:#1c1917;border-color:#1c1917;color:#fff}
#section-mall .mlp-info{padding:4px 10px 0;font-size:12px;color:#57534e}
#section-mall .mlp-shop{background:#fff;margin:8px 10px 0;border-radius:12px;padding:12px}
#section-mall .mlp-shop-h{display:flex;align-items:center;gap:10px}
#section-mall .mlp-shop-l{width:42px;height:42px;flex-shrink:0;border-radius:10px;background:#ffedd5;color:#c2410c;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;object-fit:cover}
#section-mall .mlp-shop-t{flex:1;min-width:0}
#section-mall .mlp-shop-t b{font-size:15px}
#section-mall .mlp-shop-t small{display:block;font-size:12px;color:#57534e}
#section-mall .mlp-go{font-size:13px;font-weight:700;color:#c2410c;text-decoration:none;padding:10px 0 10px 6px;white-space:nowrap}
#section-mall .mlp-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
#section-mall .mlp-th{display:block;min-width:0;color:inherit;text-decoration:none}
#section-mall .mlp-th-i{display:block;aspect-ratio:1/1;background:#f5f5f4;border-radius:8px;overflow:hidden}
#section-mall .mlp-th-i img,#section-mall .mlp-th-i video{width:100%;height:100%;object-fit:cover;display:block}
#section-mall .mlp-th-n{display:block;font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#section-mall .mlp-th-p{display:block;font-size:12px;font-weight:700;color:#ea580c}
#section-mall .mlp-none{text-align:center;padding:30px 20px;color:#78716c;font-size:14px}
#section-mall .mlp-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:60px 20px;text-align:center;color:#57534e}
#section-mall .mlp-btn{margin-top:10px;padding:10px 18px;border-radius:10px;background:#ea580c;color:#fff;text-decoration:none;font-weight:700}
/* form */
#section-mall .mlp-form,#section-mall .mlp-sent{background:#fff;min-height:70vh}
#section-mall #mlpAddForm,#section-mall .mlp-form>.mlp-note{padding:12px 14px 24px}
#section-mall .mlp-note{display:flex;gap:8px;background:#eff6ff;color:#1e3a8a;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.45}
#section-mall .mlp-note svg{flex-shrink:0;margin-top:1px}
#section-mall .mlp-fields{display:flex;flex-direction:column;gap:12px;margin-top:14px}
#section-mall .mlp-fields label,#section-mall .mlp-ref{font-size:13px;font-weight:600}
#section-mall .mlp-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#section-mall .mlp-in{display:block;width:100%;box-sizing:border-box;margin-top:4px;min-height:44px;border:1px solid #d6d3d1;border-radius:10px;padding:8px 12px;font:inherit;font-size:15px;font-weight:400;background:#fff;color:#1c1917}
#section-mall .mlp-in:focus{outline:2px solid #fdba74;border-color:#ea580c}
#section-mall .mlp-fee{margin-top:16px;border:1.5px solid #fed7aa;background:#fff7ed;border-radius:12px;padding:12px}
#section-mall .mlp-fee-h{display:flex;justify-content:space-between;align-items:baseline}
#section-mall .mlp-fee-v{font-size:20px;color:#c2410c}
#section-mall .mlp-fee-s{font-size:12px;color:#57534e}
#section-mall .mlp-fee-k{font-size:13px;font-weight:600;margin-top:10px}
#section-mall .mlp-pay{min-height:48px;margin-top:6px;display:flex;align-items:center;gap:10px;border:1.5px solid #e7e5e4;background:#fff;border-radius:10px;padding:6px 12px;cursor:pointer}
#section-mall .mlp-pay input{width:18px;height:18px;margin:0;accent-color:#ea580c;flex-shrink:0}
#section-mall .mlp-pay span{flex:1}
#section-mall .mlp-pay b{font-size:14px}
#section-mall .mlp-pay small{display:block;font-size:12px;color:#57534e}
#section-mall .mlp-pay:has(input:checked){border-color:#ea580c}
#section-mall .mlp-pay:has(input:disabled){opacity:.55;cursor:not-allowed}
#section-mall .mlp-ref{display:block;margin-top:10px}
#section-mall .mlp-agree{display:flex;gap:8px;align-items:flex-start;margin-top:12px;font-size:12px;color:#57534e;line-height:1.45}
#section-mall .mlp-agree input{width:18px;height:18px;margin:0;accent-color:#ea580c;flex-shrink:0}
#section-mall .mlp-err{margin-top:10px;background:#fef2f2;color:#991b1b;border-radius:10px;padding:10px 12px;font-size:13px}
#section-mall .mlp-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:14px;border:0;border-radius:12px;background:#ea580c;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;text-decoration:none;box-sizing:border-box}
#section-mall .mlp-submit:disabled{opacity:.6}
#section-mall .mlp-sent{padding:60px 22px 20px;display:flex;flex-direction:column;align-items:center;text-align:center}
#section-mall .mlp-sent-ok{width:72px;height:72px;border-radius:50%;background:#dcfce7;display:flex;align-items:center;justify-content:center}
#section-mall .mlp-sent>b{font-size:21px;margin-top:14px}
#section-mall .mlp-sent-s{font-size:14px;color:#57534e;margin-top:4px}
#section-mall .mlp-steps{list-style:none;width:100%;text-align:left;margin:24px 0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:14px}
#section-mall .mlp-steps li{display:flex;gap:10px;align-items:center;color:#78716c}
#section-mall .mlp-steps i{width:26px;height:26px;flex-shrink:0;border-radius:50%;border:2px solid #d6d3d1;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:13px;font-weight:700;box-sizing:border-box}
#section-mall .mlp-steps li.is-done,#section-mall .mlp-steps li.is-now{color:#1c1917}
#section-mall .mlp-steps li.is-done i{background:#16a34a;border-color:#16a34a;color:#fff}
#section-mall .mlp-steps li.is-now i{background:#f59e0b;border-color:#f59e0b;color:#fff}
/* dark */
html.pp-dark #section-mall{color:#e4e6eb}
html.pp-dark #section-mall .mlp-top,html.pp-dark #section-mall .mlp-head,html.pp-dark #section-mall .mlp-shop,html.pp-dark #section-mall .mlp-form,html.pp-dark #section-mall .mlp-sent,html.pp-dark #section-mall .mlp-search,html.pp-dark #section-mall .mlp-floors button,html.pp-dark #section-mall .mlp-in,html.pp-dark #section-mall .mlp-pay,html.pp-dark #section-mall .mlp-fav{background:#242526;border-color:#3a3b3d;color:#e4e6eb}
html.pp-dark #section-mall .mlp-tools{background:#18191a}
html.pp-dark #section-mall .mlp-stats div,html.pp-dark #section-mall .mlp-th-i{background:#3a3b3d}
html.pp-dark #section-mall .mlp-back{color:#e4e6eb}
html.pp-dark #section-mall .mlp-addr,html.pp-dark #section-mall .mlp-shop-t small,html.pp-dark #section-mall .mlp-stats span,html.pp-dark #section-mall .mlp-info,html.pp-dark #section-mall .mlp-fee-s,html.pp-dark #section-mall .mlp-pay small{color:#b0b3b8}
html.pp-dark #section-mall .mlp-fee{background:#2a2118;border-color:#7c2d12}
html.pp-dark #section-mall .mlp-note{background:#172554;color:#bfdbfe}
html.pp-dark #section-mall .mlp-search input{color:#e4e6eb}

/* "ফেভারিট মল" block of the own profile page (core/malls.php ppMallFavStrip) */
.pp-favmall{margin:10px 0;padding:0 4px}
.pp-favmall-h{display:flex;align-items:center;gap:6px;font-size:15px;color:#e11d48}
.pp-favmall-h b{color:#1c1917}
.pp-favmall-e{font-size:13px;color:#78716c;padding:8px 0}
.pp-favmall-l{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.pp-favmall-i{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e7e5e4;border-radius:12px;padding:10px 12px;color:inherit;text-decoration:none}
.pp-favmall-ic{width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#eff6ff;color:#1e3a8a;display:flex;align-items:center;justify-content:center}
.pp-favmall-t{flex:1;min-width:0}
.pp-favmall-n{display:flex;align-items:center;gap:4px}
.pp-favmall-n b{font-size:15px;color:#1c1917;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-favmall-t small{display:block;font-size:12px;color:#57534e}
.pp-favmall-go{font-size:13px;font-weight:700;color:#c2410c;white-space:nowrap}
html.pp-dark .pp-favmall-h b,html.pp-dark .pp-favmall-n b{color:#e4e6eb}
html.pp-dark .pp-favmall-i{background:#242526;border-color:#3a3b3d}
html.pp-dark .pp-favmall-ic{background:#172554;color:#93c5fd}
html.pp-dark .pp-favmall-t small{color:#b0b3b8}

/* Shop name: one line then "..." (verified badge always stays beside it) */
#section-mall .mlp-shop-h{align-items:flex-start}
#section-mall .mlp-shop-t b{line-height:1.3}
/* Sliding row of a shop: intro picture first, then product cards (same look as the home cards); the "দোকানে যান" button sits below on the right */
#section-mall .mlp-slw{position:relative;margin:10px -12px 0}
#section-mall .mlp-sl{display:flex;gap:8px;align-items:stretch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding:2px 12px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;cursor:grab;-webkit-user-select:none;user-select:none}
#section-mall .mlp-sl::-webkit-scrollbar{display:none}
#section-mall .mlp-sl.is-drag{cursor:grabbing;scroll-snap-type:none}
#section-mall .mlp-pc{flex:0 0 46%;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border:1px solid #e7e5e4;border-radius:6px;box-shadow:0 1px 4px rgba(0,0,0,.12);overflow:hidden;color:inherit;text-decoration:none;-webkit-user-drag:none}
#section-mall .mlp-pc-i{position:relative;display:block;aspect-ratio:1/1;background:#f5f5f4;overflow:hidden}
#section-mall .mlp-pc-i img,#section-mall .mlp-pc-i video{width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none}
#section-mall .mlp-pc-dc{position:absolute;top:0;left:0;background:#dc2626;color:#fff;font-style:normal;font-size:11px;font-weight:700;padding:3px 7px;border-radius:0 0 6px 0}
#section-mall .mlp-pc-n{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:8px 8px 0;font-size:13px;line-height:1.35;height:2.7em;box-sizing:content-box}
#section-mall .mlp-pc-b{display:flex;align-items:center;gap:6px;padding:4px 8px 9px;margin-top:auto;color:#c2410c;font-size:14px}
#section-mall .mlp-pc-b b{font-weight:800}
#section-mall .mlp-pc-b s{font-size:10px;color:#78716c;font-weight:400}
#section-mall .mlp-nv{display:none;position:absolute;top:42%;z-index:2;width:34px;height:34px;border:0;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:0}
#section-mall .mlp-nv.is-l{left:6px}#section-mall .mlp-nv.is-r{right:6px}
@media (hover:hover) and (pointer:fine){#section-mall .mlp-nv{display:block}}
@media (min-width:700px){#section-mall .mlp-pc{flex-basis:30%}#section-mall .mlp-bt{display:flex;justify-content:flex-end;padding-top:8px}
#section-mall .mlp-bt .mlp-go{padding:7px 14px;border:1px solid #c2410c;border-radius:18px}}
html.pp-dark #section-mall .mlp-pc{background:#242526;border-color:#3a3b3d}
html.pp-dark #section-mall .mlp-pc-b{color:#fb923c}
html.pp-dark #section-mall .mlp-bt .mlp-go{border-color:#fb923c;color:#fb923c}

/* shop name + verified badge stay on one row (the name is cut after 2 lines, the badge never drops to its own line) */
#section-mall .mlp-shop-t .mlp-nm{display:flex!important;flex-flow:row nowrap!important;align-items:center;gap:4px;min-width:0;max-width:100%}
#section-mall .mlp-shop-t .mlp-nm b{display:block!important;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#section-mall .mlp-shop-t .mlp-nm .pickparcel-verified-badge{flex:0 0 auto!important;display:inline-flex!important;margin:0!important;vertical-align:middle}
#section-mall .mlp-shop-t .mlp-nm .pickparcel-verified-badge svg{width:15px!important;height:15px!important}

/* intro card (designed by the seller) */
#section-mall .pp-ic{position:relative;display:flex;flex-direction:column;justify-content:space-between;color:#fff;text-decoration:none;background-size:cover;background-position:center;background-repeat:no-repeat;overflow:hidden}
#section-mall .pp-ic::before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(180deg,rgba(0,0,0,.45) 0,rgba(0,0,0,0) 38%,rgba(0,0,0,0) 55%,rgba(0,0,0,.5) 100%)}
#section-mall .pp-ic.is-dk{color:#111}
#section-mall .pp-ic.is-dk::before{background:linear-gradient(180deg,rgba(255,255,255,.6) 0,rgba(255,255,255,0) 38%,rgba(255,255,255,0) 55%,rgba(255,255,255,.65) 100%)}
#section-mall .pp-ic>span{position:relative}
#section-mall .pp-ic-nm{display:flex;align-items:flex-start;gap:4px;padding:8px 9px 0;font-size:13px;font-weight:700;line-height:1.25}
#section-mall .pp-ic-nm b{min-width:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
#section-mall .pp-ic-nm .pickparcel-verified-badge{flex:0 0 auto;display:inline-flex;margin-top:1px}
#section-mall .pp-ic-nm .pickparcel-verified-badge svg{width:15px;height:15px}
#section-mall .pp-ic-tx{display:block;padding:0 9px 9px}
#section-mall .pp-ic-t1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;font-size:17px;font-weight:800;line-height:1.2}
#section-mall .pp-ic-t2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;font-size:12px;line-height:1.3;margin-top:2px;opacity:.95}
#section-mall .mlp-intro{flex:0 0 58%;min-width:0;scroll-snap-align:start;border-radius:8px;min-height:190px}
@media (min-width:700px){#section-mall .mlp-intro{flex-basis:36%}}

/* The top bar and the search/floor bar follow the site header: when the header slides away on scroll (mobile), they move to the top with it, so no gap is left above them */
#section-mall .mlp-top,#section-mall .mlp-tools{transition:top .26s ease}
@media (max-width:750px){
  html.pp-bars-hidden #section-mall .mlp-top{top:0}
  html.pp-bars-hidden #section-mall .mlp-tools{top:52px}
}

/* "দোকান দেখুন" card: comes after the (max 3) product cards, same size as a product card */
#section-mall .mlp-more{align-items:center;justify-content:center;gap:10px;text-align:center;background:#fff7ed;border-color:#fed7aa;color:#c2410c;font-weight:800;font-size:14px;min-height:150px}
#section-mall .mlp-more-c{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#c2410c;color:#fff;font-size:28px;line-height:1;padding-bottom:3px}
html.pp-dark #section-mall .mlp-more{background:#2b1f17;border-color:#7c2d12;color:#fb923c}
html.pp-dark #section-mall .mlp-more-c{background:#fb923c;color:#1c1917}

/* seller photo in the middle of the intro card */
#section-mall .pp-ic-av{align-self:center;display:flex;align-items:center;justify-content:center;width:88px;height:88px;border-radius:50%;overflow:hidden;border:3px solid #fff;background:#ffedd5;color:#c2410c;font-size:34px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.3)}
#section-mall .pp-ic-av img{width:100%;height:100%;object-fit:cover;display:block}
