/* Shop + product pages. Builds on style.css (colour tokens, pills, rows, groups). */
.shop-body{padding-bottom:env(safe-area-inset-bottom)}
.pwrap{max-width:1040px;margin:0 auto;padding:20px 20px 24px}

/* top bar */
.pnav{position:sticky;top:0;z-index:30;background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:.5px solid var(--sep)}
/* In the Android apps the bar is fixed to the top (sticky isn't reliable in every WebView). */
.in-app .pnav{position:fixed;top:0;left:0;right:0}
.in-app body{padding-top:55px}
.pnav-in{max-width:1040px;margin:0 auto;padding:0 12px;height:54px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center}
.pnav-title,.pnav-shop{justify-self:center;font-weight:600;font-size:17px;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.pnav-shop img{width:26px;height:26px;object-fit:contain}
.icon-btn{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--blue);cursor:pointer;border-radius:50%;text-decoration:none}
.icon-btn:active{background:var(--fill)}
.icon-btn .ic{width:24px;height:24px}

/* product */
.pgrid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:start}
.pmedia{position:relative;background:var(--bg-2) center/cover no-repeat;border-radius:28px;overflow:hidden;aspect-ratio:1;box-shadow:var(--shadow)}
.pmedia img{width:100%;height:100%;object-fit:cover;display:block}
.off-badge{position:absolute;top:10px;left:10px;background:var(--red);color:#fff;font-weight:700;font-size:12px;padding:4px 9px;border-radius:999px}
.off-badge-lg{top:18px;left:18px;font-size:15px;padding:6px 12px}
.pinfo{padding-top:6px}
.pbrand{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--label-2);margin-bottom:6px}
.pname{font-size:clamp(1.8rem,3.4vw,2.5rem);font-weight:700;letter-spacing:-.03em;line-height:1.1;margin-bottom:14px}
.pprice{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin-bottom:10px}
.pprice-now{font:800 2rem/1 var(--display);letter-spacing:-.03em}
.pprice s{color:var(--label-2);font-size:17px}
/* Bargaining (product.php "Make an offer", Pro shops) */
.bargain{margin:-2px 0 16px}
.bargain-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bargain-tag{font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;color:var(--brand-b,#1982C5);background:color-mix(in srgb,var(--brand-b,#1982C5) 13%,transparent)}
.bargain-form{display:flex;gap:8px;margin-top:10px}
.bargain [hidden]{display:none}
.bargain-form input{flex:1;min-width:0;padding:10px 14px;border-radius:12px;border:.5px solid var(--sep);background:var(--bg-2);color:var(--label);font:inherit;font-size:16px}
.bargain-msg{margin:8px 0 0;font-size:14px;color:var(--label-2)}
.bargain-msg:empty{display:none}
.bargain-ok .bargain-msg{color:#248A3D;font-weight:600}
.off-pill{font-size:13px;font-weight:600;color:var(--red);background:color-mix(in srgb,var(--red) 12%,transparent);padding:4px 10px;border-radius:999px}
.pstock{display:flex;align-items:center;gap:8px;color:var(--label-2);font-size:15px;margin-bottom:22px}
.pstock.sold-out .dot{background:var(--red);box-shadow:none}
.qty-row{display:flex;justify-content:space-between;align-items:center;background:var(--bg-2);border-radius:var(--r-sm);padding:8px 8px 8px 16px;margin-bottom:16px}
.stepper{display:flex;align-items:center;background:var(--fill);border-radius:10px}
.stepper button{width:44px;height:36px;border:0;background:transparent;color:var(--label);cursor:pointer;display:grid;place-items:center}
.stepper button:disabled{color:var(--label-3);cursor:default}
.stepper output{min-width:28px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}
.buy-btn{margin-top:0}
.pill-status{margin-top:10px;background:var(--label);color:var(--bg)}
.pill-status[disabled]{opacity:.7}
.wa-share{margin-top:10px}
.snack{position:fixed;left:50%;bottom:calc(100px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:70;width:max-content;max-width:min(92vw,420px);padding:12px 18px;border-radius:14px;background:rgba(28,28,30,.94);color:#fff;font-size:15px;line-height:1.35;text-align:center;box-shadow:var(--shadow);animation:fade .2s ease}
.snack[hidden]{display:none}
.pdesc{color:var(--label-2);margin:24px 0}
.perks{padding:4px 0}
.perk{display:flex;gap:14px;align-items:center;padding:12px 16px;position:relative}
.perk+.perk::before{content:"";position:absolute;top:0;left:62px;right:0;border-top:.5px solid var(--sep)}
.perk b{display:block;font-weight:600;font-size:16px}
.perk span{color:var(--label-2);font-size:14px}
.perk-ic{flex:none;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#fff}
.perk-ic .ic{width:19px;height:19px}

/* product video */
.pvideo{width:100%;height:100%;object-fit:cover;display:block;background:#000;cursor:pointer}
.media-btn{position:absolute;right:14px;bottom:14px;width:40px;height:40px;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;background:rgba(0,0,0,.45);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);cursor:pointer}
.media-btn .ic{width:20px;height:20px}
.play-overlay{position:absolute;inset:0;margin:auto;width:76px;height:76px;border-radius:50%;border:0;display:grid;place-items:center;color:#1C1C1E;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:var(--shadow);cursor:pointer}
.play-overlay[hidden]{display:none}
.play-overlay svg,.play-dot svg,.play-badge svg{fill:currentColor}
.play-overlay svg{width:30px;height:30px;margin-left:4px}
.watch-btn{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;padding:8px 18px 8px 8px;border:0;border-radius:999px;color:#fff;background:rgba(0,0,0,.55);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font:600 15px var(--font);white-space:nowrap;cursor:pointer}
.play-dot{width:32px;height:32px;border-radius:50%;background:#fff;color:#1C1C1E;display:grid;place-items:center}
.play-dot svg{width:14px;height:14px;margin-left:2px}
.play-badge{position:absolute;right:8px;top:8px;width:28px;height:28px;border-radius:50%;color:#fff;background:rgba(0,0,0,.5);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:grid;place-items:center}
.play-badge svg{width:12px;height:12px;margin-left:2px}
.reel-backdrop{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;padding:16px;animation:fade .25s ease}
.reel-backdrop[hidden]{display:none}
.reel{position:relative;height:min(88vh,720px);aspect-ratio:9/16;max-width:100%;border-radius:20px;overflow:hidden;background:#000}
.reel iframe{width:100%;height:100%;border:0;display:block}
.reel-close{top:10px;bottom:auto;z-index:2}

/* product grids */
.more{margin-top:56px}
.more h2{font-size:1.5rem;margin-bottom:16px}
.pcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pcard{display:flex;flex-direction:column;background:var(--bg-2);border-radius:20px;padding:8px 8px 14px;text-decoration:none;box-shadow:var(--shadow);transition:transform .2s}
.pcard:active{transform:scale(.98)}
.pcard-img{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--fill);margin-bottom:10px}
.pcard-img img{width:100%;height:100%;object-fit:cover;display:block}
/* Every card the same shape: name, price and shop each on one line, cut with … at the card's edge. */
.pcard-name{font-weight:600;font-size:15px;line-height:1.3;margin:0 6px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard-price{margin:auto 6px 0;font-size:15px;color:var(--label);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard-price s{color:var(--label-2);font-size:13px}

/* shop header */
.shop-hero{text-align:center;padding:20px 0 32px}
/* Promo slider (lib.php promo_slider): Market under the search bar; at the top of shop pages. */
.promo{position:relative;margin:14px 0 2px;text-align:left}
.promo-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:22px;box-shadow:var(--shadow)}
.promo-track::-webkit-scrollbar{display:none}
.promo-slide{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:148px;padding:16px 16px 28px 20px;color:#fff;text-decoration:none;overflow:hidden}
.promo-deals{background:linear-gradient(135deg,#FF8A3D,#FF2D55)}
/* --brand-*: a Pro shop's own gradient from its logo, on its pages (lib.php shop_brand_style); Tunda's otherwise. */
.promo-cats{background:linear-gradient(135deg,var(--brand-a,#8BC927),var(--brand-b,#1982C5));color:var(--brand-ink,#fff)}
.promo-pay{background:linear-gradient(135deg,#1C1C1E,#3A3A3C)}
.promo-text{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.promo-kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.promo-text strong{font:800 1.45rem/1.1 var(--display);letter-spacing:-.02em}
.promo-sub{font-size:13px;line-height:1.3;opacity:.92}
.promo-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.promo-chip{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.22);white-space:nowrap}
.promo-mtn{background:#FFCC00;color:#1C1C1E}
.promo-airtel{background:#E40000;color:#fff}
.promo-pics{flex:none;display:flex;align-items:center;padding-right:6px}
.promo-pics img{width:62px;height:62px;object-fit:cover;border-radius:15px;border:3px solid #fff;background:#fff;box-shadow:0 6px 14px rgba(0,0,0,.2)}
.promo-pics img:nth-child(1){transform:rotate(-6deg)}
.promo-pics img:nth-child(2){transform:translateY(-10px) rotate(3deg)}
.promo-pics img:nth-child(3){transform:rotate(7deg)}
.promo-pics img+img{margin-left:-24px}
.promo-phone svg{width:72px;height:72px;fill:none;stroke:#fff;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.promo-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px}
.promo-dots i{width:6px;height:6px;border-radius:999px;background:rgba(255,255,255,.5);transition:width .25s,background .25s;cursor:pointer}
.promo-dots i.on{width:18px;background:#fff}
@media (min-width:861px){
  .promo-slide{min-height:200px;padding:28px 40px 34px}
  .promo-text strong{font-size:2.2rem}
  .promo-sub{font-size:16px}
  .promo-pics img{width:112px;height:112px;border-radius:22px}
  .promo-pics img+img{margin-left:-34px}
  .promo-phone svg{width:110px;height:110px}
}
/* Shop page: the shop's logo, name and Pro badge on the left of the top bar, then the slider. */
.pnav-shop-start{grid-column:1/3;justify-self:start;min-width:0;margin:0 0 0 4px;font:600 17px/1.2 var(--font);letter-spacing:normal}
.pnav-shop-start>span:first-of-type{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pnav-shop-start .plan-badge{flex:none}
.pcards-promo{grid-column:1/-1}
.pcards-promo .promo{margin:6px 0}
@media (min-width:861px){.pcards-promo-m{display:none}} /* PC: 4 cards a row, so only every 12 cards */
.shop-hero-row{text-align:left;padding:0 0 26px}
.shop-hero-row .promo{margin:0}
.shop-hero-row .app-get{margin:14px 0 0}
.shop-hero-row .chip-static{display:flex;width:fit-content;margin:16px auto 0}
.shop-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 14px}
.shop-filter b{font-size:17px}
.shop-filter a{font-size:15px;font-weight:600;color:var(--blue);text-decoration:none}
.chip-static{display:inline-flex;align-items:center;gap:8px;background:var(--bg-2);padding:6px 14px;border-radius:999px;font-size:14px;color:var(--label-2);box-shadow:var(--shadow)}

/* "Add to your phone" (assets/pwa.js) */
.app-get{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;margin:16px auto 0;text-decoration:none;border:0;border-radius:999px;padding:10px 18px;background:color-mix(in srgb,var(--blue) 12%,transparent);color:var(--blue);font:600 15px var(--font);cursor:pointer}
.app-get[hidden]{display:none}
.mapp{margin:-4px 0 14px}
.mapp:not(:has(.app-get:not([hidden]))){display:none}
.app-get .ic{width:20px;height:20px}
.install-steps{list-style:none;margin:6px 0 18px;padding:0;counter-reset:s}
.install-steps li{counter-increment:s;display:flex;align-items:center;gap:12px;padding:12px 4px;font-size:16px}
.install-steps li+li{border-top:.5px solid var(--sep)}
.install-steps li::before{content:counter(s);flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--fill);font-weight:700;font-size:14px}
.install-steps .ic{width:20px;height:20px;color:var(--blue);vertical-align:-4px}
.install-note{color:var(--label-2);font-size:14px;margin:0 4px 16px}
.install-sheet .pill{width:100%}

/* Tunda Market strip (Starter shops only) */
.mlink{display:flex;align-items:center;gap:14px;margin-top:32px;padding:14px 16px;border-radius:var(--r-sm);background:var(--bg-2);box-shadow:var(--shadow);color:var(--label);text-decoration:none}
.mlink-ic{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#8BC927,#1982C5)}
.mlink-ic .ic{width:22px;height:22px}
.mlink-text{flex:1;display:flex;flex-direction:column;line-height:1.3}
.mlink-text span{color:var(--label-2);font-size:14px}
.mlink-go{color:var(--label-3);width:20px;height:20px}
.mlink+.powered{margin-top:18px}

.powered{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 16px;margin-top:32px}
.powered a{display:inline-flex;align-items:center;gap:8px;color:var(--label-2);font-size:13px;text-decoration:none}
.powered img{width:18px;height:18px}
.notfound{text-align:center;padding-top:120px}

/* sticky buy bar (phones) */
.buybar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:40;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:.5px solid var(--sep)}
.buybar-label{display:block;font-size:12px;color:var(--label-2)}
.buybar b{font-size:19px}
.buybar .pill{padding:13px 30px}

/* checkout bottom sheet */
.sheet-backdrop{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.35);display:flex;align-items:flex-end;justify-content:center;animation:fade .25s ease}
.sheet-backdrop[hidden]{display:none}
.sheet{width:100%;max-width:520px;max-height:92vh;overflow:auto;background:var(--bg);border-radius:22px 22px 0 0;padding:8px 16px calc(20px + env(safe-area-inset-bottom));animation:rise .35s cubic-bezier(.2,.8,.2,1)}
.grabber{width:36px;height:5px;border-radius:3px;background:var(--label-3);margin:0 auto 6px}
.sheet-head{display:flex;justify-content:space-between;align-items:center;margin:0 -6px 6px 4px}
.sheet-head h2{font-size:1.4rem;margin:0}
.summary{display:flex;align-items:center;gap:12px;background:var(--bg-2);border-radius:var(--r-sm);padding:10px}
.summary img{width:52px;height:52px;border-radius:10px;object-fit:cover}
.summary div{flex:1;min-width:0;display:flex;flex-direction:column;font-size:14px}
.summary div b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.summary div span{color:var(--label-2)}
.summary strong{font-size:16px;white-space:nowrap}
.sheet .row>span{width:80px}
.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--fill);border-radius:10px;padding:3px}
.segmented label{margin:0;cursor:pointer}
.segmented input{position:absolute;opacity:0;width:1px;height:1px}
.segmented span{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border-radius:8px;font-weight:600;font-size:15px;color:var(--label-2);transition:background .2s,color .2s}
.segmented input:checked+span{background:var(--bg-2);color:var(--label);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.segmented input:focus-visible+span{outline:2px solid var(--blue)}
.mm-dot{width:12px;height:12px;border-radius:50%;display:inline-block}
.mm-dot.mtn{background:#FFCC00}
.mm-dot.airtel{background:#FF3B30}
.mm-dot.cash{background:var(--tint)}
.seg-3{grid-template-columns:1fr 1fr 1fr}
.seg-3 span{font-size:14px;padding:10px 6px}
.spinner{width:56px;height:56px;margin:4px auto 18px;border-radius:50%;border:5px solid var(--fill);border-top-color:var(--tint);animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.fail-ic{background:var(--red)}
/* the order's tracking link, right after buying */
.trackbox{margin:14px 0 6px;padding:14px;border-radius:var(--r-sm);background:var(--bg-2);text-align:left}
.trackbox[hidden]{display:none}
.trackbox-label{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--label-2)}
.trackbox-link{display:block;margin:4px 0 10px;font-weight:600;color:var(--blue);word-break:break-all;text-decoration:none}
.trackbox-acts{display:flex;gap:8px;flex-wrap:wrap}
.sheet-done .trackbox-acts .pill{margin-top:0}
.sheet-done .trackbox-note{font-size:13px;margin:10px 0 0}
/* star ratings */
.stars{display:inline-flex;align-items:center;gap:1px;color:#F5A623;vertical-align:-2px}
.stars svg{width:15px;height:15px;fill:currentColor}
.stars svg.off{fill:var(--fill)}
.rating-line{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--label-2);margin:-6px 0 12px;text-decoration:none;width:fit-content}
.reviews{margin-top:22px}
.reviews h2{font-size:1.2rem}
.review{padding:12px 16px}
.review+.review{border-top:.5px solid var(--sep)}
.review p{margin:4px 0 0;color:var(--label)}
.review span{font-size:13px;color:var(--label-2)}
.flash-ok{background:color-mix(in srgb,var(--tint) 14%,var(--bg-2));border-radius:12px;padding:12px 16px;margin:0 0 12px;font-size:15px}
/* rating form on the order page */
.rate{margin-top:6px}
.rate-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px}
.rate-row+.rate-row,.rate textarea{border-top:.5px solid var(--sep)}
.starpick{display:flex;flex-direction:row-reverse;gap:2px}
.starpick input{position:absolute;opacity:0;width:1px;height:1px}
.starpick label{cursor:pointer;color:var(--fill);display:grid}
.starpick svg{width:30px;height:30px;fill:currentColor}
.starpick input:checked~label,.starpick label:hover,.starpick label:hover~label{color:#F5A623}
.starpick input:focus-visible+label{outline:2px solid var(--blue);border-radius:6px}
.rate textarea{width:100%;border:0;background:transparent;font:16px/1.45 var(--font);color:var(--label);padding:12px 16px;resize:vertical;outline:none;display:block}

/* safety: "Report a safety problem" (order page, seller orders, driver trips), rating buyers, removed shops */
.report{margin-top:12px}
.report summary{cursor:pointer;color:var(--red);font-size:14px;font-weight:500;list-style:none;display:inline-flex;align-items:center;gap:4px}
.report summary::-webkit-details-marker,.report summary::after{display:none}
.rate-buyer summary{color:var(--blue)}
.report form{margin-top:10px;display:grid;gap:10px;justify-items:start}
.report .group{width:100%}
.report textarea{width:100%;border:0;border-top:.5px solid var(--sep);background:transparent;font:16px/1.45 var(--font);color:var(--label);padding:12px 16px;resize:vertical;outline:none;display:block}
.report .rate-row+.row{border-top:.5px solid var(--sep)}
.report .pill-red{background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--red)}
.report .fine{font-size:13px;margin:0}
.sos{margin:0;font-size:14px;font-weight:600;color:var(--red)}
.sos a{color:inherit}
.flash-bad{background:color-mix(in srgb,var(--red) 12%,var(--bg-2));border-radius:12px;padding:12px 16px;margin:0 0 12px;font-size:15px}
.buyer-line{font-size:13px;color:var(--label-2);display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:-4px 0 8px}
.buyer-line.risky,.risky{color:var(--red);font-weight:600}
.removed-card{background:var(--bg-2);border-radius:20px;padding:22px 18px;margin:0 0 22px;box-shadow:var(--shadow);text-align:center;display:grid;justify-items:center;gap:4px}
.removed-card h1{font-size:1.35rem;margin:6px 0 4px}
.removed-card p{margin:4px 0}
.removed-card .pill{margin-top:12px}
.removed-mark .ic{width:48px;height:48px;padding:10px;border-radius:16px;color:#fff;background:var(--red)}

/* marketplace */
.market{max-width:1100px}
.msearch{display:flex;align-items:center;gap:10px;background:var(--bg-2);border-radius:14px;padding:0 14px;box-shadow:var(--shadow)}
.msearch .ic{width:20px;height:20px;color:var(--label-2);flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.msearch input{flex:1;min-width:0;border:0;background:transparent;font:17px var(--font);color:var(--label);padding:14px 0;outline:none}
/* sellers on the Market, Pro first; and the way back to the Market from a shop */
.featured-pill{display:inline-block;margin:16px 2px 0;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;color:#fff;background:linear-gradient(135deg,#8BC927,#1982C5)}
.msellers{display:flex;gap:10px;overflow-x:auto;padding:10px 2px 4px;scrollbar-width:none}
.msellers::-webkit-scrollbar{display:none}
.mseller{flex:none;width:92px;display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--label)}
.mseller-logo{width:64px;height:64px;border-radius:50%;background:var(--bg-2);box-shadow:var(--shadow);display:grid;place-items:center;overflow:hidden}
.mseller-logo img{width:100%;height:100%;object-fit:contain;padding:9px;box-sizing:border-box}
.mseller-name{font-size:13px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plan-badge{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:2px 7px;border-radius:999px;background:var(--fill);color:var(--label-2);vertical-align:1px}
.plan-badge-pro{background:linear-gradient(135deg,var(--brand-a,#8BC927),var(--brand-b,#1982C5));color:var(--brand-ink,#fff)} /* not .plan-pro: that is the pricing card on the homepage (style.css) */
.from-market{display:inline-flex;align-items:center;gap:2px;margin:0 0 10px -4px;font-size:15px;font-weight:600;color:var(--blue);text-decoration:none}
.from-market[hidden]{display:none}
.from-market .ic{width:20px;height:20px}
.mcats{display:flex;gap:8px;overflow-x:auto;padding:14px 2px;scrollbar-width:none}
.mcats::-webkit-scrollbar{display:none}
.mcats a{flex:none;padding:8px 14px;border-radius:999px;background:var(--bg-2);color:var(--label);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap}
.mcats a.on{background:var(--label);color:var(--bg)}
.mbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 2px 14px;font-size:14px}
.msort{display:flex;gap:4px;background:var(--fill);border-radius:9px;padding:2px}
.msort a{padding:5px 10px;border-radius:7px;color:var(--label-2);text-decoration:none;font-weight:500}
.msort a.on{background:var(--bg-2);color:var(--label);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.pcard-shop{margin:4px 6px 0;font-size:13px;color:var(--label-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mempty{padding-top:40px}
.msell{text-align:center;margin-top:56px;background:var(--bg-2);border-radius:24px;padding:32px 20px}
.msell h2{font-size:1.6rem}
.icon-btn .ic[viewBox]{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* order tracking page */
.track{max-width:560px}
.track-card{display:flex;gap:14px;align-items:center;background:var(--bg-2);border-radius:20px;padding:12px;box-shadow:var(--shadow)}
.track-card img{width:72px;height:72px;border-radius:14px;object-fit:cover}
.track-card div{display:flex;flex-direction:column;min-width:0}
.track-card span{color:var(--label-2);font-size:14px}
.track-card strong{font-size:18px;margin-top:4px}
.tstep{display:flex;gap:14px;align-items:center;padding:13px 16px;position:relative;color:var(--label-2)}
.tstep+.tstep::before{content:"";position:absolute;top:0;left:42px;right:0;border-top:.5px solid var(--sep)}
.tstep b{font-weight:500}
.tstep span{display:block;font-size:14px}
.tdot{flex:none;width:14px;height:14px;border-radius:50%;border:2px solid var(--label-3)}
.tstep.done{color:var(--label)}
.tstep.done .tdot{background:var(--tint);border-color:var(--tint)}
.tstep-bad{color:var(--red)}
.tstep-bad .tdot{background:var(--red);border-color:var(--red)}
.pay-paid{color:var(--tint-dk)!important;font-weight:600}
.pay-failed,.pay-expired{color:var(--red)!important}
.track-wa{margin-top:22px}
.row-static em{font-style:normal;color:var(--label-2);flex:1;text-align:right}
.demo-note{text-align:center;font-size:13px;color:var(--label-2);margin:6px 0 0}
.sheet-done{text-align:center;padding:24px 8px 8px}
.sheet-done h3{font-size:1.6rem}
.sheet-done p{color:var(--label-2)}
.sheet-done .pill{margin-top:10px}
@keyframes rise{from{transform:translateY(100%)}}
@keyframes fade{from{opacity:0}}
@media (min-width:700px){
  .sheet-backdrop{align-items:center}
  .sheet{border-radius:22px;padding-bottom:20px}
  .grabber{display:none}
}

@media (min-width:861px){
  .pmedia{position:sticky;top:74px} /* the photo stays in view while the details scroll (PC) */
}
@media (max-width:860px){
  .pgrid{grid-template-columns:1fr;gap:22px}
  .pcards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .buybar{display:flex}
  .shop-body:has(.buybar){padding-bottom:calc(76px + env(safe-area-inset-bottom))} /* room for the sticky Buy bar */
  .pinfo .buy-btn{display:none}
}
@media (max-width:640px){
  .pwrap{padding:12px 16px 20px}
  .pmedia{border-radius:22px}
  .pcards{gap:10px}
  .pcard-name,.pcard-price,.pcard-shop{margin-left:3px;margin-right:3px} /* a little more room for names on phones */
}
