:root{--mk-ink:#101828;--mk-muted:#667085;--mk-line:#e4e7ec;--mk-surface:#fff;--mk-soft:#f7f9fc;--mk-accent:#2563eb;--mk-green:#047857}.marketplace-body{margin:0;background:#f6f8fb;color:var(--mk-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.marketplace-topbar{height:60px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:0 clamp(16px,3vw,44px);border-bottom:1px solid var(--mk-line);background:rgba(255,255,255,.94);backdrop-filter:blur(16px);position:sticky;top:0;z-index:1000}.marketplace-brand{display:flex;align-items:center;gap:9px;font-weight:900;color:var(--mk-ink);text-decoration:none;font-size:17px}.marketplace-brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eaf0ff;color:var(--mk-accent)}.marketplace-location-state{justify-self:center;color:#475467;font-size:13px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw}.marketplace-actions{display:flex;align-items:center;gap:8px}.marketplace-owner-login,.marketplace-cta{text-decoration:none;font-weight:800;border-radius:10px;padding:8px 11px;font-size:13px}.marketplace-owner-login{display:inline-flex;align-items:center;gap:7px;color:#344054}.marketplace-owner-login svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.marketplace-owner-login span{white-space:nowrap}.marketplace-cta{background:var(--mk-ink);color:#fff}.marketplace-cta-disabled{opacity:.58;cursor:not-allowed}.marketplace-main{max-width:1600px;margin:0 auto}.marketplace-discovery-bar{padding:14px clamp(14px,3vw,44px) 10px}.marketplace-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.marketplace-section-title h1{margin:0;font-size:22px;line-height:1.2;letter-spacing:-.025em}.marketplace-section-title p{margin:2px 0 0;color:var(--mk-muted);font-size:13px}.marketplace-location-btn,.marketplace-search-btn{border:0;border-radius:11px;padding:10px 14px;font-weight:850;cursor:pointer;font-size:14px}.marketplace-search-icon{display:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.marketplace-location-btn{background:#eaf1ff;color:#1d4ed8}.marketplace-location-btn.is-locating{opacity:.7;cursor:progress}.marketplace-search-btn{background:var(--mk-accent);color:#fff;min-width:88px}.marketplace-search-shell{background:#fff;border:1px solid var(--mk-line);border-radius:15px;padding:8px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.marketplace-search-main{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(160px,1fr) auto;gap:7px}.marketplace-search-main label{display:flex;align-items:center;gap:8px;padding:7px 10px;background:var(--mk-soft);border-radius:10px}.marketplace-search-main label span{font-size:11px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.marketplace-search-main input{border:0;background:transparent;padding:2px 0;font-size:14px;outline:none;min-width:0;width:100%}.marketplace-search-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px;padding:0 2px;flex-wrap:wrap}.marketplace-radius-group,.marketplace-category-rail,.marketplace-filter-toggles{display:flex;align-items:center;gap:6px}.marketplace-radius-group,.marketplace-category-rail{overflow:auto;scrollbar-width:none}.marketplace-radius-chip,.marketplace-category-chip{white-space:nowrap;border:1px solid var(--mk-line);background:#fff;border-radius:999px;padding:6px 9px;font-weight:800;font-size:12px;color:#475467;cursor:pointer}.marketplace-radius-chip.active,.marketplace-category-chip.active{background:#101828;color:#fff;border-color:#101828}.marketplace-category-chip span{font-size:10px;opacity:.72;margin-left:3px}.marketplace-toggle{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:800;color:#475467}.marketplace-category-rail{margin-top:8px;padding-bottom:2px}.marketplace-explorer{padding:4px clamp(14px,3vw,44px) 30px;display:grid;grid-template-columns:minmax(420px,1.2fr) minmax(380px,.8fr);gap:12px;min-height:calc(100vh - 190px)}.marketplace-results-pane,.marketplace-map-pane{background:#fff;border:1px solid var(--mk-line);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.05)}.marketplace-map-pane{position:sticky;top:72px;height:calc(100vh - 92px);min-height:520px}.marketplace-map-pane #marketplaceMap{height:100%;min-height:520px}.marketplace-map-status{position:absolute;left:12px;bottom:12px;z-index:600;background:rgba(16,24,40,.88);color:#fff;padding:7px 10px;border-radius:9px;font-size:11px;font-weight:750;max-width:76%;backdrop-filter:blur(8px)}.marketplace-results-pane{padding:14px;max-height:calc(100vh - 92px);overflow:auto}.marketplace-results-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;position:sticky;top:-14px;background:#fff;z-index:2;padding:12px 0 9px;border-bottom:1px solid #f2f4f7}.marketplace-results-head h2{margin:0;font-size:18px;letter-spacing:-.02em}.marketplace-results-head>div>span{display:block;color:var(--mk-muted);font-size:11px;margin-top:2px}.marketplace-view-switch{display:flex;background:#f2f4f7;border-radius:9px;padding:2px}.marketplace-view-switch button{border:0;background:transparent;border-radius:7px;padding:6px 8px;font-size:11px;font-weight:800;color:#667085;cursor:pointer}.marketplace-view-switch button.active{background:#fff;color:#101828;box-shadow:0 1px 3px #0001}.marketplace-cards{display:grid;gap:8px}.marketplace-store-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid var(--mk-line);border-radius:13px;padding:11px;transition:.16s ease;background:#fff;scroll-margin-top:80px}.marketplace-store-card:hover,.marketplace-store-card.map-active{box-shadow:0 10px 22px rgba(15,23,42,.08);border-color:#b8c8f9;background:#fbfdff}.marketplace-store-logo{width:48px;height:48px;border-radius:13px;background:#eef2ff;display:grid;place-items:center;overflow:hidden;font-weight:950;font-size:18px;color:#4f46e5}.marketplace-store-logo img{width:100%;height:100%;object-fit:cover}.marketplace-store-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.marketplace-store-title-row h3{margin:0;font-size:15px}.marketplace-store-title-row p,.marketplace-store-description{margin:2px 0 0;color:var(--mk-muted);font-size:11px}.marketplace-store-description{line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.marketplace-distance{background:#ecfdf3;color:var(--mk-green);font-size:11px;font-weight:900;padding:4px 7px;border-radius:999px;white-space:nowrap}.marketplace-store-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}.marketplace-store-tags span{font-size:10px;font-weight:800;background:#f2f4f7;border-radius:999px;padding:4px 6px;color:#475467}.marketplace-store-actions a{display:inline-flex;align-items:center;gap:5px;background:#101828;color:#fff;text-decoration:none;font-size:12px;font-weight:850;border-radius:9px;padding:8px 9px;white-space:nowrap}.marketplace-empty{padding:28px;text-align:center;border:1px dashed #d0d5dd;border-radius:13px;background:#fafbfc}.marketplace-empty strong,.marketplace-empty span{display:block}.marketplace-empty span{color:var(--mk-muted);margin-top:5px;font-size:12px}.leaflet-popup-content{margin:12px 14px;min-width:190px}.marketplace-map-popup strong{font-size:14px}.marketplace-map-popup span{display:block;color:#667085;font-size:11px;margin-top:3px}.marketplace-map-popup .popup-distance{color:var(--mk-green);font-weight:850}.marketplace-map-popup a{display:inline-block;margin-top:8px;padding:7px 9px;border-radius:8px;background:#101828;color:#fff!important;text-decoration:none;font-weight:800;font-size:11px}.marketplace-explorer.list-only{grid-template-columns:1fr}.marketplace-explorer.list-only .marketplace-map-pane{display:none}.marketplace-explorer.list-only .marketplace-results-pane{max-height:none}@media(max-width:980px){.marketplace-topbar{grid-template-columns:auto 1fr auto}.marketplace-location-state{display:none}.marketplace-explorer{grid-template-columns:1fr;min-height:0}.marketplace-map-pane{position:relative;top:0;height:48vh;min-height:320px}.marketplace-map-pane #marketplaceMap{min-height:320px}.marketplace-results-pane{max-height:none}.marketplace-search-main{grid-template-columns:1fr 1fr auto}}@media(max-width:640px){.marketplace-topbar{height:56px;padding:0 12px}.marketplace-brand{font-size:15px}.marketplace-brand-mark{width:28px;height:28px}.marketplace-actions .marketplace-link{display:none}.marketplace-cta{font-size:11px;padding:7px 9px}.marketplace-discovery-bar{padding:10px 10px 7px}.marketplace-section-title h1{font-size:19px}.marketplace-section-title p{display:none}.marketplace-location-btn{font-size:12px;padding:8px 10px}.marketplace-search-main{grid-template-columns:minmax(0,1fr) 52px;grid-template-areas:"query submit" "area submit";align-items:stretch}.marketplace-search-main label{min-height:34px}.marketplace-search-main label:nth-of-type(1){grid-area:query}.marketplace-search-main label:nth-of-type(2){grid-area:area}.marketplace-search-btn{grid-area:submit;min-width:52px;width:52px;padding:0;display:grid;place-items:center}.marketplace-search-icon{display:block}.marketplace-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.marketplace-search-meta{align-items:flex-start}.marketplace-filter-toggles{margin-left:auto}.marketplace-explorer{padding:3px 10px 20px;gap:8px}.marketplace-map-pane{height:42vh;min-height:280px;border-radius:13px}.marketplace-map-pane #marketplaceMap{min-height:280px}.marketplace-results-pane{padding:10px;border-radius:13px}.marketplace-results-head{top:-10px;padding:9px 0 7px}.marketplace-view-switch{display:none}.marketplace-store-card{grid-template-columns:42px minmax(0,1fr);padding:9px}.marketplace-store-logo{width:42px;height:42px;border-radius:11px}.marketplace-store-actions{grid-column:1/-1}.marketplace-store-actions a{justify-content:center;width:100%;box-sizing:border-box}.marketplace-distance{font-size:10px}.marketplace-category-rail{margin-top:7px}.marketplace-radius-chip,.marketplace-category-chip{padding:5px 8px}.marketplace-map-status{left:8px;bottom:8px}.marketplace-search-shell{border-radius:13px}}

/* 4J.2.2 mobile marketplace controls */
@media(max-width:640px){
.marketplace-actions{gap:5px}
.marketplace-owner-login{width:34px;height:34px;padding:0;display:grid;place-items:center;border:1px solid var(--mk-line);background:#fff;border-radius:10px}
.marketplace-owner-login svg{width:19px;height:19px}
.marketplace-owner-login span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.marketplace-search-shell{position:relative;padding:7px}
.marketplace-search-main{display:grid;grid-template-columns:1fr;grid-template-areas:none;gap:7px}
.marketplace-search-main label,.marketplace-search-main label:nth-of-type(1),.marketplace-search-main label:nth-of-type(2){grid-area:auto;min-height:48px;padding:8px 48px 8px 12px}
.marketplace-search-main label:nth-of-type(2){padding-right:12px}
.marketplace-search-main label span{font-size:12px}
.marketplace-search-main input{font-size:16px;font-weight:750;color:#101828;line-height:1.25}
.marketplace-search-main input::placeholder{font-weight:650;color:#667085;opacity:1}
.marketplace-search-btn{position:absolute;right:13px;top:13px;z-index:3;width:36px;height:36px;min-width:36px;border-radius:10px;padding:0;display:grid;place-items:center;box-shadow:0 4px 12px rgba(47,102,232,.18)}
.marketplace-search-icon{width:20px;height:20px}
.marketplace-search-meta{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:7px -1px 0;padding:0 1px 2px}
.marketplace-search-meta::-webkit-scrollbar{display:none}
.marketplace-radius-group{display:flex;overflow:visible;flex:0 0 auto;gap:6px}
.marketplace-filter-toggles{display:flex;flex:0 0 auto;margin-left:0;gap:10px}
.marketplace-toggle{font-size:12px;white-space:nowrap}
.marketplace-radius-chip{flex:0 0 auto;padding:6px 10px}
}


/* 4J.2.3 compact mobile discovery controls */
@media(max-width:640px){
.marketplace-topbar{height:52px;padding:0 10px;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.marketplace-location-state{display:none}
.marketplace-brand{min-width:0;gap:7px;font-size:14px;white-space:nowrap}
.marketplace-brand-mark{width:27px;height:27px;border-radius:9px;flex:0 0 auto}
.marketplace-actions{justify-self:end;margin-left:auto;gap:5px;white-space:nowrap}
.marketplace-actions .marketplace-cta{order:1}
.marketplace-actions .marketplace-owner-login{order:2}
.marketplace-owner-login{width:32px;height:32px;border-radius:9px}
.marketplace-owner-login svg{width:18px;height:18px}
.marketplace-cta{font-size:10.5px;padding:7px 8px;border-radius:9px}
.marketplace-discovery-bar{padding:6px 10px 4px}
.marketplace-section-title{gap:8px;margin-bottom:5px}
.marketplace-section-title h1{font-size:18px;line-height:1.15}
.marketplace-location-btn{font-size:11.5px;padding:7px 9px;border-radius:9px}
.marketplace-search-shell{padding:6px;border-radius:12px}
.marketplace-search-main{gap:5px}
.marketplace-search-main label,.marketplace-search-main label:nth-of-type(1),.marketplace-search-main label:nth-of-type(2){min-height:36px;padding:5px 44px 5px 10px;border-radius:9px}
.marketplace-search-main label:nth-of-type(2){padding-right:10px}
.marketplace-search-main label span{font-size:11px}
.marketplace-search-main input{font-size:15px;font-weight:750;line-height:1.15;padding:0}
.marketplace-search-btn{right:10px;top:9px;width:32px;height:32px;min-width:32px;border-radius:9px}
.marketplace-search-icon{width:18px;height:18px}
.marketplace-search-meta{gap:6px;margin:5px 0 0;padding:0 0 1px}
.marketplace-radius-group{gap:5px}
.marketplace-radius-chip{padding:5px 9px;font-size:11.5px}
.marketplace-filter-toggles{gap:8px}
.marketplace-toggle{gap:4px;font-size:11.5px}
.marketplace-category-rail{margin-top:4px;padding-bottom:0}
.marketplace-category-chip{padding:5px 8px}
.marketplace-explorer{padding:1px 10px 18px;gap:7px}
}


/* 4J.2.4 mobile header alignment and compact search fields */
@media(max-width:640px){
.marketplace-topbar{display:flex;align-items:center;width:100%;box-sizing:border-box;height:50px;padding:0 10px;gap:8px}
.marketplace-brand{flex:0 1 auto;min-width:0;margin-right:auto;font-size:14px}
.marketplace-brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketplace-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;margin-left:auto;gap:5px}
.marketplace-actions .marketplace-cta{order:1;display:inline-flex;align-items:center;gap:4px;min-height:28px;box-sizing:border-box;padding:5px 7px;font-size:10.5px;line-height:1}
.marketplace-actions .marketplace-owner-login{order:2;width:30px;height:30px;min-width:30px;padding:0}
.marketplace-registration-desktop{display:none}
.marketplace-registration-mobile{display:inline}
.marketplace-discovery-bar{padding-top:4px}
.marketplace-section-title{margin-bottom:4px}
.marketplace-search-shell{padding:5px}
.marketplace-search-main{gap:4px}
.marketplace-search-main label,.marketplace-search-main label:nth-of-type(1),.marketplace-search-main label:nth-of-type(2){min-height:34px;height:34px;box-sizing:border-box;padding:3px 40px 3px 9px;border-radius:8px}
.marketplace-search-main label:nth-of-type(2){padding-right:9px}
.marketplace-search-main label span{font-size:10.5px}
.marketplace-search-main input{font-size:14px;font-weight:750;line-height:1;padding:0}
.marketplace-search-btn{right:8px;top:8px;width:28px;height:28px;min-width:28px;border-radius:8px}
.marketplace-search-icon{width:17px;height:17px}
.marketplace-search-meta{margin-top:4px}
}
@media(min-width:641px){
.marketplace-registration-mobile{display:none}
}

/* 4K.1 search intelligence */
.marketplace-store-tags .marketplace-open-status.is-open,.marketplace-map-popup .popup-open-status.is-open{background:#ecfdf3;color:#047857}
.marketplace-store-tags .marketplace-open-status.is-closed,.marketplace-map-popup .popup-open-status.is-closed{background:#fef3f2;color:#b42318}
.marketplace-map-popup .popup-open-status{display:inline-block;margin-top:5px;padding:3px 6px;border-radius:999px;font-weight:850}
.marketplace-expand-radius{margin-top:12px;border:0;border-radius:9px;background:#101828;color:#fff;padding:8px 11px;font-size:12px;font-weight:850;cursor:pointer}


/* 4K.2 store discovery quality */
.marketplace-store-logo img,.popup-store-logo img{width:100%;height:100%;object-fit:cover;display:block}
.marketplace-hours-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px;color:#667085;font-size:11px}
.marketplace-hours-line .marketplace-open-status{display:inline-flex;align-items:center;padding:3px 6px;border-radius:999px;font-size:10px;font-weight:850}
.marketplace-open-status.is-unknown,.marketplace-map-popup .popup-open-status.is-unknown{background:#f2f4f7;color:#475467}
.marketplace-store-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.marketplace-store-actions a.is-secondary{background:#fff;color:#344054;border:1px solid #d0d5dd}
.popup-store-head{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:5px}
.popup-store-logo{width:38px;height:38px;border-radius:9px;overflow:hidden;background:#eef2ff;display:grid;place-items:center;font-weight:900;color:#344054}
.marketplace-map-popup .popup-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.marketplace-map-popup .popup-actions a{margin-top:0}
.marketplace-map-popup .popup-actions a.is-secondary{background:#fff;color:#344054!important;border:1px solid #d0d5dd}
@media(max-width:640px){
.marketplace-store-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:5px}
.marketplace-store-actions a{width:auto;justify-content:center;padding:7px 8px}
.marketplace-store-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.marketplace-hours-line{gap:5px;margin-top:4px}
}
.marketplace-rating-line{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b;margin:5px 0}.marketplace-rating-line strong{color:#92400e;font-size:13px}.popup-rating{font-weight:800;color:#92400e}.popup-review{display:grid;gap:3px;margin:6px 0;padding:7px 8px;border-radius:8px;background:#f8fafc;font-size:11px}.popup-review strong{font-size:11px}.popup-review span{display:block;max-width:240px;white-space:normal}

/* 4K.4 promotions and featured discovery */
.marketplace-campaign-rail{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin-top:6px;padding-bottom:1px}.marketplace-campaign-rail::-webkit-scrollbar{display:none}.marketplace-campaign-chip{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;border:1px solid #dbe4ff;background:#f8faff;color:#243b6b;border-radius:999px;padding:6px 9px;font:inherit;font-size:11px;text-decoration:none;cursor:pointer}.marketplace-campaign-chip strong{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#4f46e5}.marketplace-featured-section{padding:4px 18px 8px}.marketplace-featured-section.is-empty{display:none}.marketplace-featured-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:6px}.marketplace-featured-head h2{font-size:14px;margin:0}.marketplace-featured-head span{font-size:10px;color:#667085}.marketplace-featured-rail{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.marketplace-featured-rail::-webkit-scrollbar{display:none}.marketplace-featured-card{position:relative;min-width:min(360px,82vw);max-width:420px}.marketplace-featured-card .marketplace-store-card{height:100%;box-sizing:border-box;border-color:#c7d7fe;background:linear-gradient(180deg,#fff,#fbfcff)}.marketplace-featured-label{position:absolute;z-index:2;top:7px;right:7px;padding:4px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:9px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.marketplace-promo-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.marketplace-promo-badge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:9px;font-weight:850}.marketplace-map-popup .marketplace-promo-badges{margin-top:5px}
@media(max-width:640px){.marketplace-featured-section{padding:2px 10px 6px}.marketplace-featured-head span{display:none}.marketplace-featured-card{min-width:78vw}.marketplace-campaign-rail{margin-top:4px}.marketplace-campaign-chip{padding:5px 8px}}
/* 4K.5: compact location intent affordance */
.marketplace-store-location-line{display:flex!important;align-items:center;gap:5px;min-width:0}
.marketplace-location-pin{display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;opacity:.72;flex:0 0 auto}
.marketplace-location-pin:hover,.marketplace-location-pin:focus-visible{opacity:1;background:rgba(15,23,42,.07);outline:none}
.marketplace-location-pin svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:640px){.marketplace-location-pin{width:22px;height:22px}.marketplace-location-pin svg{width:14px;height:14px}}

/* 4K.7 multi-location ultimate store card */
.marketplace-store-card{grid-template-columns:54px minmax(0,1fr);grid-template-areas:"logo copy" "actions actions" "social social";gap:10px 12px;padding:14px;border-radius:16px;align-items:start}
.marketplace-store-logo{grid-area:logo;width:54px;height:54px;border-radius:15px;box-shadow:inset 0 0 0 1px rgba(79,70,229,.08)}
.marketplace-store-copy{grid-area:copy;min-width:0}
.marketplace-store-title-row{align-items:flex-start}
.marketplace-store-title-row h3{font-size:16px;line-height:1.15;letter-spacing:-.015em}
.marketplace-store-location-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.marketplace-location-count{display:inline-flex!important;background:#eef2ff;color:#4338ca;border-radius:999px;padding:2px 6px;font-size:9px!important;font-weight:850}
.marketplace-distance{font-size:10px;padding:4px 7px}
.marketplace-store-meta-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:5px;color:#667085;font-size:10px}
.marketplace-rating-compact{font-weight:900;color:#b45309}.marketplace-rating-compact small{font-weight:700;color:#667085}
.marketplace-hours-detail{color:#667085}
.marketplace-store-actions{grid-area:actions;display:flex;gap:7px;align-items:center;border-top:1px solid #f0f2f5;padding-top:10px}
.marketplace-action-btn{appearance:none;border:1px solid #dfe3ea;background:#fff;color:#344054;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:850;white-space:nowrap;cursor:pointer;min-height:34px;box-sizing:border-box}
.marketplace-action-btn:hover{border-color:#b9c5db;background:#f8fafc}.marketplace-action-btn.is-primary{margin-left:auto;background:#101828;border-color:#101828;color:#fff;padding-inline:12px}.marketplace-action-btn.is-primary:hover{background:#1d2939}
.marketplace-social-strip{grid-area:social;display:flex;align-items:center;gap:6px;padding-top:2px}
.marketplace-social-strip a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid #e4e7ec;background:#fff;color:#344054;text-decoration:none;font-size:13px;font-weight:900;transition:.15s ease}
.marketplace-social-strip a:hover{background:#f2f4f7;transform:translateY(-1px)}
@media(min-width:1180px){.marketplace-store-card{grid-template-columns:54px minmax(0,1fr);}.marketplace-store-description{-webkit-line-clamp:1}}
@media(max-width:640px){.marketplace-store-card{grid-template-columns:46px minmax(0,1fr);grid-template-areas:"logo copy" "actions actions" "social social";padding:11px;gap:8px 10px}.marketplace-store-logo{width:46px;height:46px;border-radius:13px}.marketplace-store-title-row h3{font-size:15px}.marketplace-store-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding-top:8px}.marketplace-action-btn{padding:7px 5px;font-size:10px;min-width:0}.marketplace-action-btn.is-primary{margin-left:0}.marketplace-action-btn>span:first-child:last-child{overflow:hidden;text-overflow:ellipsis}.marketplace-social-strip{justify-content:flex-start}.marketplace-social-strip a{width:28px;height:28px}}

/* 4K.7.5: icon actions + multi-location branch chooser */
.marketplace-action-btn.is-icon-only{position:relative;width:36px;min-width:36px;height:36px;padding:0;border-radius:10px;flex:0 0 36px}.marketplace-action-btn.is-icon-only svg,.marketplace-social-icon svg,.marketplace-branch-pin svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.marketplace-social-icon svg{width:15px;height:15px}.marketplace-location-action-count{position:absolute;right:-5px;top:-6px;min-width:16px;height:16px;padding:0 3px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#4f46e5;color:#fff;font-size:8px;font-weight:950;line-height:1}.marketplace-store-card{position:relative}.marketplace-branch-chooser{grid-column:1/-1;grid-area:auto;position:absolute;z-index:30;left:10px;right:10px;bottom:54px;padding:8px;border:1px solid #d9e2ef;border-radius:13px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.16)}.marketplace-branch-chooser[hidden]{display:none}.marketplace-branch-chooser-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 3px 7px}.marketplace-branch-chooser-head strong{font-size:11px;color:#344054}.marketplace-branch-chooser-head button{width:26px;height:26px;border:0;border-radius:8px;background:#f2f4f7;color:#475467;font-size:18px;line-height:1;cursor:pointer}.marketplace-branch-option{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px;border:0;border-top:1px solid #f1f3f6;background:#fff;text-align:left;cursor:pointer}.marketplace-branch-option:hover,.marketplace-branch-option:focus-visible{background:#f8faff;outline:none}.marketplace-branch-pin{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#eef2ff;color:#4338ca}.marketplace-branch-pin svg{width:15px;height:15px}.marketplace-branch-copy{display:grid;gap:1px;min-width:0}.marketplace-branch-copy strong{font-size:11px;color:#1d2939;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketplace-branch-copy small{font-size:9px;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketplace-branch-meta{display:grid;justify-items:end;gap:2px;white-space:nowrap}.marketplace-branch-meta b{font-size:9px;font-weight:850;color:#047857}.marketplace-branch-meta small{font-size:8px;font-weight:800;color:#667085}.marketplace-branch-meta small.is-open{color:#047857}.marketplace-branch-meta small.is-closed{color:#b42318}.marketplace-map-popup .popup-actions{align-items:center}.marketplace-map-popup .popup-actions .marketplace-action-btn.is-primary{margin-left:0}.marketplace-map-popup .marketplace-social-strip{margin-top:7px;padding-top:0}.marketplace-map-popup .marketplace-social-strip a{margin-top:0}.marketplace-store-actions{display:flex!important;grid-template-columns:none!important}.marketplace-store-actions .marketplace-action-btn.is-primary{min-width:96px}.marketplace-social-strip a svg{pointer-events:none}
@media(max-width:640px){.marketplace-action-btn.is-icon-only{width:34px;min-width:34px;height:34px;flex-basis:34px}.marketplace-store-actions{display:flex!important;gap:6px}.marketplace-store-actions .marketplace-action-btn.is-primary{margin-left:auto;min-width:92px;padding-inline:9px}.marketplace-branch-chooser{left:7px;right:7px;bottom:50px}.marketplace-social-strip{padding-top:0}}


/* 4K.7.6 mobile marketplace polish, sharing and clear location state */
.marketplace-location-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid transparent;transition:background .15s ease,color .15s ease,border-color .15s ease}
.marketplace-location-state-dot{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(255,255,255,.55)}
.marketplace-location-btn.is-idle{background:#fff7d6;color:#925f00;border-color:#f5d97a}
.marketplace-location-btn.is-locating{background:#eaf1ff;color:#1d4ed8;border-color:#c9d9ff;cursor:progress}
.marketplace-location-btn.is-active{background:#eafaf1;color:#047857;border-color:#b7e6cb}
.marketplace-location-btn.is-blocked{background:#fff1e8;color:#b54708;border-color:#f7caa7}
.marketplace-hours-inline{display:inline-flex;align-items:center;min-width:0;white-space:nowrap}
.marketplace-hours-inline .marketplace-open-status{padding:0;background:transparent!important;border-radius:0;font-size:inherit;font-weight:850}
.marketplace-hours-inline .marketplace-hours-detail{margin-left:0;color:#667085}
.marketplace-map-popup{min-width:224px;max-width:252px}
.marketplace-map-popup .popup-summary-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:4px}
.marketplace-map-popup .popup-summary-line>span{margin-top:0}
.marketplace-map-popup .popup-hours-inline{display:inline-flex;margin-top:0}
.marketplace-map-popup .popup-open-status{display:inline;margin-top:0;padding:0;background:transparent!important;border-radius:0;font-size:11px}
.marketplace-map-popup .popup-category{margin-top:4px}
.marketplace-map-popup .popup-actions{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;margin-top:7px}
.marketplace-map-popup .popup-actions .marketplace-action-btn{margin-top:0}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only{width:32px;min-width:32px;height:32px;flex-basis:32px;border-radius:9px}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only svg{width:16px;height:16px}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-primary{margin-left:auto;min-width:82px;min-height:32px;padding:6px 8px;font-size:10px}
.marketplace-map-popup .marketplace-social-strip{margin-top:5px;gap:5px}
.marketplace-map-popup .marketplace-social-strip a{width:26px;height:26px}
.marketplace-store-card{padding-bottom:10px}
.marketplace-store-actions{padding-top:7px}
.marketplace-store-actions button.marketplace-action-btn{font-family:inherit}
@media(max-width:640px){
.marketplace-location-btn{font-size:11px;padding:6px 8px;gap:6px}
.marketplace-location-state-dot{width:7px;height:7px}
.marketplace-store-card{padding:9px 10px 8px;gap:6px 9px}
.marketplace-store-actions{padding-top:6px;gap:5px}
.marketplace-store-actions .marketplace-action-btn.is-icon-only{width:32px;min-width:32px;height:32px;flex-basis:32px}
.marketplace-store-actions .marketplace-action-btn.is-primary{min-width:88px;min-height:32px;padding:6px 8px}
.marketplace-store-meta-row{gap:5px;margin-top:3px}
.marketplace-store-location-line .marketplace-location-count{display:none!important}
.marketplace-social-strip{gap:5px;margin-top:0}
.marketplace-social-strip a{width:26px;height:26px}
}

/* 4K.7.7 marketplace action personalization + popup centering */
.marketplace-action-btn.is-icon-only{display:grid!important;place-items:center;line-height:0}
.marketplace-action-btn.is-icon-only svg,.marketplace-social-icon svg{display:block;margin:auto}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only{display:grid!important;place-items:center;padding:0!important;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;flex:0 0 32px;margin:0!important}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-store-action{background:#101828;border-color:#101828;color:#fff!important;box-shadow:0 4px 10px rgba(16,24,40,.16);width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;flex:0 0 32px;margin-left:0!important}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-store-action:hover{background:#1d2939;border-color:#1d2939}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-store-action svg{width:16px;height:16px}
.marketplace-map-popup .popup-actions{justify-content:flex-start;flex-wrap:nowrap}
.marketplace-map-popup .marketplace-social-strip{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
@media(max-width:640px){.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only{width:34px;min-width:34px;max-width:34px;height:34px;min-height:34px;flex:0 0 34px}.marketplace-map-popup .popup-actions .marketplace-action-btn.is-store-action{width:34px;min-width:34px;max-width:34px;height:34px;min-height:34px;flex:0 0 34px}.marketplace-map-popup .popup-actions{gap:6px;flex-wrap:nowrap}}

.marketplace-store-actions{flex-wrap:wrap}
.marketplace-social-action{background:#fbfcff}
.marketplace-social-action:hover{background:#f1f4ff}

/* 4K.8 discovery intelligence */
.marketplace-compact-select{display:inline-flex;align-items:center}.marketplace-compact-select select{height:30px;border:1px solid var(--mk-line);border-radius:9px;background:#fff;color:#344054;font-size:12px;font-weight:800;padding:0 28px 0 9px;cursor:pointer}.marketplace-load-more{display:block;margin:12px auto 2px;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:10px;padding:9px 14px;font-size:12px;font-weight:850;cursor:pointer}.marketplace-load-more:hover{background:#f8fafc}.marketplace-load-more.is-hidden{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:640px){.marketplace-filter-toggles{gap:6px}.marketplace-compact-select select{height:28px;font-size:11px;padding-left:7px;padding-right:22px}.marketplace-load-more{width:100%;margin-top:9px}}

/* GI-5 shopper identity/store switching */
.marketplace-shopper-action,.marketplace-shopper-logout button{border:0;background:transparent;color:#344054;text-decoration:none;font:inherit;font-size:13px;font-weight:850;cursor:pointer;white-space:nowrap}.marketplace-shopper-logout{margin:0}.marketplace-action-btn[disabled]{opacity:.65;cursor:progress}@media(max-width:760px){.marketplace-shopper-action{font-size:11px}.marketplace-shopper-logout button{font-size:11px;padding:0}.marketplace-actions{gap:5px}}

/* GI-5 closure: authenticated shopper actions */
.marketplace-shopper-logout{display:inline-flex;margin:0}.marketplace-shopper-logout button{appearance:none;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:12px;padding:9px 12px;font:inherit;font-weight:750;cursor:pointer}.marketplace-shopper-logout button:hover{background:#f9fafb}.marketplace-action-btn.is-disabled{background:#f2f4f7!important;color:#98a2b3!important;border-color:#e4e7ec!important;cursor:not-allowed;pointer-events:none}

/* GI-5 refinement: explicit connection state and dual store actions */
.marketplace-store-card.is-connected{border-color:#86bda6;box-shadow:0 12px 30px rgba(16,94,67,.09)}.marketplace-store-card.is-membership-unavailable{opacity:.82}.marketplace-store-name-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.marketplace-connection-badge{display:inline-flex;align-items:center;gap:4px;border:1px solid #d0d5dd;background:#f8fafc;color:#475467;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:850;line-height:1.2}.marketplace-connection-badge.is-connected{border-color:#9dd4bf;background:#ecfdf3;color:#087443}.marketplace-connection-badge.is-unavailable{border-color:#e4e7ec;background:#f2f4f7;color:#667085}.marketplace-view-only{font-size:13px;padding-inline:11px}.marketplace-store-actions{flex-wrap:wrap}

/* GI-5 action refinement: public eye and secure open */
.marketplace-action-btn.is-eye-action{min-width:44px;justify-content:center;padding-inline:11px;font-size:17px}
.marketplace-action-btn.is-connected-open{display:inline-flex;align-items:center;gap:6px;text-transform:uppercase}
.marketplace-action-btn.is-secure-open-icon{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:50px}
.marketplace-action-btn.is-secure-open-icon svg{width:17px;height:17px}

/* Final GI-5 marketplace action contract */
.marketplace-store-actions{display:flex;align-items:center;gap:8px}
.marketplace-store-actions .marketplace-view-only{margin-left:auto}
.marketplace-store-actions .marketplace-view-only + .marketplace-action-btn{margin-left:0}
.marketplace-action-btn.is-connect-store{display:inline-flex;align-items:center;gap:6px}
.marketplace-action-btn.is-connect-store-icon{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:50px}
.marketplace-action-btn.is-connect-store-icon svg{width:17px;height:17px}
.marketplace-popup-actions{display:flex;align-items:center;gap:8px}
.marketplace-popup-actions .marketplace-view-only{margin-left:0}
.marketplace-popup-actions .is-secure-open-icon,
.marketplace-popup-actions .is-connect-store-icon{margin-left:auto}

/* GI-5 shopper/store navigation refinement */
.marketplace-store-name-line{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:nowrap}
.marketplace-store-name-line h3{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketplace-store-name-line .marketplace-connection-badge{flex:0 0 auto;white-space:nowrap}
.marketplace-map-popup .popup-actions .is-secure-open-icon,
.marketplace-map-popup .popup-actions .is-connect-store-icon{width:54px!important;min-width:54px!important;flex-basis:54px!important;padding-inline:7px!important;gap:3px!important}
.marketplace-map-popup .popup-actions .is-secure-open-icon svg,
.marketplace-map-popup .popup-actions .is-connect-store-icon svg{flex:0 0 16px}

/* First-time global shopper onboarding */
.marketplace-shopper-notice{margin:0;padding:9px clamp(14px,3vw,34px);display:flex;align-items:center;justify-content:center;gap:18px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#7c2d12;font-size:13px;line-height:1.35}
.marketplace-shopper-notice[hidden]{display:none!important}
.marketplace-shopper-notice-context{background:#eff6ff;border-bottom-color:#bfdbfe;color:#1e3a8a}
.marketplace-shopper-notice-warning{background:#fff7ed;color:#9a3412}
.marketplace-shopper-notice-copy{display:flex;align-items:center;gap:8px;min-width:0}
.marketplace-shopper-notice-copy strong{white-space:nowrap;font-size:13px}
.marketplace-shopper-notice-copy span{color:inherit;opacity:.9}
.marketplace-shopper-notice-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.marketplace-shopper-notice-actions a{min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:6px 11px;border-radius:9px;text-decoration:none;font-weight:800;font-size:12px}
.marketplace-notice-primary{background:#1d4ed8;color:#fff}
.marketplace-notice-secondary{background:#fff;color:#1d4ed8;border:1px solid #bfdbfe}
.marketplace-shopper-notice-close{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:inherit;font-size:21px;cursor:pointer}
.marketplace-shopper-notice-close:hover{background:rgba(15,23,42,.08)}
.shopper-origin-reuse{margin:8px 0 14px;padding:14px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}
.shopper-origin-reuse strong{display:block;margin-bottom:5px;color:#1e3a8a}
.shopper-origin-reuse p{margin:0 0 8px;color:#475569}
@media(max-width:820px){.marketplace-shopper-notice{align-items:flex-start;flex-direction:column;gap:8px}.marketplace-shopper-notice-copy{display:block}.marketplace-shopper-notice-copy strong{display:block;white-space:normal;margin-bottom:2px}.marketplace-shopper-notice-actions{width:100%;flex-wrap:wrap}.marketplace-shopper-notice-close{margin-inline-start:auto}}


/* 4K.10 marketplace responsive hardening + consistent async progress */
html,body{max-width:100%;overflow-x:hidden}
.marketplace-body,.marketplace-main,.marketplace-explorer,.marketplace-results-pane,.marketplace-map-pane,.marketplace-cards,.marketplace-store-card,.marketplace-store-copy,.marketplace-store-identity{min-width:0;max-width:100%;box-sizing:border-box}
.marketplace-explorer{grid-template-columns:minmax(0,58fr) minmax(430px,42fr)}
.marketplace-results-pane{overflow-x:hidden}
.marketplace-store-card{width:100%;overflow:hidden}
.marketplace-store-title-row,.marketplace-store-name-line{min-width:0}
.marketplace-store-name-line h3{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketplace-connection-badge{max-width:42%;overflow:hidden;text-overflow:ellipsis}
.marketplace-store-actions{width:100%;min-width:0;flex-wrap:nowrap}
.marketplace-store-actions .marketplace-action-btn{flex:0 0 auto}
.marketplace-store-actions .marketplace-view-only{margin-inline-start:auto;width:38px;min-width:38px;height:36px;padding:0;display:grid!important;place-items:center}
.marketplace-store-actions .marketplace-view-only svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.marketplace-store-actions .marketplace-action-btn.is-connected-open{width:112px;min-width:112px;max-width:112px;min-height:36px;justify-content:center;padding-inline:10px;overflow:hidden}
.marketplace-action-btn.is-loading{position:relative;cursor:progress!important;pointer-events:none}
.marketplace-action-btn.is-loading::before,.marketplace-search-btn.is-loading::before{
    content:"";width:14px;height:14px;flex:0 0 14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:marketplace-spin .7s linear infinite
}
.marketplace-action-btn.is-connected-open.is-loading>span:first-child{display:none}
.marketplace-action-btn.is-connected-open.is-loading{gap:7px}
.marketplace-map-popup .marketplace-action-btn.is-loading::before{width:13px;height:13px;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}
.marketplace-map-popup .marketplace-action-btn.is-loading>*{visibility:hidden}
.marketplace-search-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.marketplace-search-btn.is-loading .marketplace-search-icon,.marketplace-search-btn.is-loading .marketplace-search-label{opacity:.55}
@keyframes marketplace-spin{to{transform:rotate(360deg)}}
.marketplace-explorer.is-loading-results .marketplace-results-pane{position:relative}
.marketplace-explorer.is-loading-results .marketplace-results-pane::after{
    content:"";position:absolute;top:64px;right:18px;width:18px;height:18px;border:2px solid #98a2b3;border-right-color:transparent;border-radius:50%;animation:marketplace-spin .7s linear infinite;z-index:6
}
.marketplace-map-status[hidden]{display:none!important}
.marketplace-map-status{pointer-events:none}
.leaflet-control-attribution{max-width:calc(100% - 16px);white-space:normal;line-height:1.2}
.marketplace-map-popup{width:min(330px,calc(100vw - 56px));min-width:0;max-width:330px}
.marketplace-map-popup .popup-actions{max-width:100%;overflow:hidden}
.marketplace-map-popup .popup-actions .marketplace-view-only{margin-left:auto!important}
.marketplace-map-popup .popup-actions .is-secure-open-icon,
.marketplace-map-popup .popup-actions .is-connect-store-icon{margin-left:0!important}

@media(max-width:1180px){
    .marketplace-explorer{grid-template-columns:minmax(0,55fr) minmax(400px,45fr)}
}
@media(max-width:980px){
    .marketplace-explorer{grid-template-columns:1fr}
    .marketplace-results-pane{max-height:none;overflow-y:visible}
}
@media(max-width:760px){
    .marketplace-results-pane{overflow:visible}
    .marketplace-store-card{overflow:hidden}
    .marketplace-store-name-line{align-items:flex-start;flex-wrap:wrap}
    .marketplace-store-name-line h3{white-space:normal;overflow-wrap:anywhere;line-height:1.2}
    .marketplace-connection-badge{max-width:100%}
    .marketplace-store-actions{gap:7px;flex-wrap:wrap}
    .marketplace-store-actions .marketplace-view-only{margin-inline-start:auto}
    .marketplace-topbar{overflow:hidden}
}
@media(max-width:640px){
    .marketplace-body{width:100%;overflow-x:hidden}
    .marketplace-main{width:100%;overflow-x:hidden}
    .marketplace-explorer{width:100%;padding-inline:8px}
    .marketplace-results-pane{width:100%;padding:8px}
    .marketplace-cards{width:100%}
    .marketplace-store-card{width:100%;padding:10px;grid-template-columns:44px minmax(0,1fr);grid-template-areas:"logo copy" "actions actions" "social social"}
    .marketplace-store-logo{width:44px;height:44px}
    .marketplace-store-copy{grid-area:copy}
    .marketplace-store-actions{grid-area:actions;display:flex!important;width:100%;gap:6px;flex-wrap:wrap}
    .marketplace-store-actions .marketplace-action-btn.is-icon-only{width:34px;min-width:34px;max-width:34px;height:34px;flex:0 0 34px;padding:0}
    .marketplace-store-actions .marketplace-view-only{display:grid!important;margin-inline-start:auto;width:34px;min-width:34px;max-width:34px;height:34px}
    .marketplace-store-actions .marketplace-action-btn.is-connected-open{width:112px;min-width:112px;max-width:112px;height:34px;min-height:34px;margin-left:0;padding-inline:8px}
    .marketplace-store-actions .marketplace-action-btn.is-connect-store{margin-inline-start:auto;max-width:118px;white-space:nowrap}
    .marketplace-map-pane{overflow:hidden}
    .leaflet-control-attribution{font-size:9px;max-width:72vw}
    .marketplace-map-popup{width:min(300px,calc(100vw - 42px));max-width:300px}
    .marketplace-map-popup .popup-actions{gap:5px;flex-wrap:wrap}
    .marketplace-map-popup .popup-actions .marketplace-view-only{margin-left:0!important}
    .marketplace-topbar{padding-inline:8px;gap:6px}
    .marketplace-brand{max-width:190px}
    .marketplace-actions{min-width:0;gap:4px}
    .marketplace-actions .marketplace-cta-disabled{display:none}
}
@media(max-width:480px){
    .marketplace-brand{max-width:160px}
    .marketplace-brand>span:last-child{font-size:13px}
    .marketplace-shopper-action{font-size:10px}
    .marketplace-shopper-logout button{padding:7px 9px;font-size:10px}
}


/* 4K.11 live marketplace popup + shopper notice refinement */
.leaflet-popup-content-wrapper{max-width:calc(100vw - 44px);overflow:hidden}
.leaflet-popup-content{width:auto!important;max-width:calc(100vw - 72px);overflow:hidden}
.marketplace-map-popup{box-sizing:border-box;max-width:100%;overflow:hidden}
.marketplace-map-popup .popup-store-head{min-width:0;max-width:100%}
.marketplace-map-popup .popup-store-head>div:last-child{min-width:0;max-width:100%;overflow:hidden}
.marketplace-map-popup .popup-store-head strong{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.25}
.marketplace-map-popup .popup-store-head span,.marketplace-map-popup .popup-category,.marketplace-map-popup .popup-review span{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.marketplace-map-popup .popup-actions{min-width:0;max-width:100%}
.marketplace-map-popup .popup-actions .is-secure-open-icon,
.marketplace-map-popup .popup-actions .is-connect-store-icon{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:4px!important;line-height:1!important}
.marketplace-map-popup .popup-actions .is-secure-open-icon>span,
.marketplace-map-popup .popup-actions .is-connect-store-icon>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;line-height:1!important}
.marketplace-map-popup .popup-actions .is-secure-open-icon>svg,
.marketplace-map-popup .popup-actions .is-connect-store-icon>svg{display:block!important;margin:0!important;flex:0 0 16px!important}
.marketplace-shopper-notice-actions a{min-height:22px;padding:2px 9px;border-radius:7px;font-size:11px;line-height:1.15}
.marketplace-shopper-notice-copy strong{white-space:normal}
@media(max-width:640px){
    .leaflet-popup-content-wrapper{max-width:calc(100vw - 28px)}
    .leaflet-popup-content{max-width:calc(100vw - 52px);margin:10px 12px}
    .marketplace-map-popup{width:min(286px,calc(100vw - 52px));max-width:100%}
    .marketplace-shopper-notice-actions a{min-height:22px;padding:2px 8px;font-size:10.5px}
}


/* 4K.12 cloud account menus + popup action alignment */
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only.is-secure-open-icon,
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only.is-connect-store-icon{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only.is-secure-open-icon>span,
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only.is-connect-store-icon>span{display:inline-flex!important;flex:0 0 auto!important}
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only.is-secure-open-icon>svg,
.marketplace-map-popup .popup-actions .marketplace-action-btn.is-icon-only.is-connect-store-icon>svg{display:block!important;flex:0 0 16px!important}
.marketplace-account-menus{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.marketplace-account-menu{position:relative}
.marketplace-account-menu>summary{list-style:none}
.marketplace-account-menu>summary::-webkit-details-marker{display:none}
.marketplace-account-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#1d2939;font-size:12px;font-weight:850;cursor:pointer;white-space:nowrap;user-select:none}
.marketplace-account-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
.marketplace-account-menu[open]>.marketplace-account-trigger,.marketplace-account-trigger:hover{background:#f8fafc;border-color:#b9c4d3}
.marketplace-account-dropdown{position:absolute;z-index:120;top:calc(100% + 8px);right:0;min-width:184px;padding:7px;border:1px solid #d9e2ef;border-radius:13px;background:#fff;box-shadow:0 16px 38px rgba(15,23,42,.16)}
.marketplace-account-dropdown a,.marketplace-account-dropdown button,.marketplace-account-disabled{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:9px;min-height:36px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#27364a;text-decoration:none;font:inherit;font-size:12px;font-weight:750;text-align:left;cursor:pointer}
.marketplace-account-dropdown a:hover,.marketplace-account-dropdown button:hover{background:#f2f4f7}
.marketplace-account-dropdown form{margin:0}
.marketplace-account-dropdown a>span:first-child,.marketplace-account-dropdown button>span:first-child,.marketplace-account-disabled>span:first-child{width:18px;text-align:center;flex:0 0 18px}
.marketplace-account-disabled{color:#98a2b3;cursor:default}
.marketplace-account-count,.marketplace-dropdown-count{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:8px;font-weight:950;line-height:1}
.marketplace-account-count{position:absolute;right:-5px;top:-6px;border:2px solid #fff}
.marketplace-dropdown-count{margin-left:auto}
@media(max-width:640px){
    .marketplace-account-menus{gap:5px}
    .marketplace-account-trigger{min-height:34px;padding:6px 8px;border-radius:10px;font-size:11px;gap:5px}
    .marketplace-account-trigger svg{width:17px;height:17px}
    .marketplace-owner-menu .marketplace-owner-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
    .marketplace-owner-menu .marketplace-account-trigger{width:34px;padding:0}
    .marketplace-account-dropdown{position:fixed;top:60px;right:8px;min-width:190px;max-width:calc(100vw - 16px)}
    .marketplace-shopper-menu .marketplace-account-dropdown{right:50px}
}


/* 4K.12 compact account/language menus and mobile dropdown hardening */
.marketplace-account-menus{gap:6px}
.marketplace-account-trigger{height:34px;min-height:34px;box-sizing:border-box;padding:4px 9px;border-radius:10px}
.marketplace-language-trigger{width:34px;min-width:34px;padding:0}
.marketplace-language-globe{font-size:17px;line-height:1}
.marketplace-language-dropdown a.is-active{background:#f2f4f7;font-weight:900}
.marketplace-language-dropdown a strong{margin-inline-start:auto;color:#047857}
.marketplace-account-menu[open]>.marketplace-account-dropdown{display:block}
.marketplace-account-dropdown{display:none}
.marketplace-account-menu[open]>.marketplace-account-trigger{background:#f8fafc;border-color:#b9c4d3}

@media(max-width:640px){
    .marketplace-account-menus{gap:4px}
    .marketplace-account-trigger{height:32px;min-height:32px;padding:3px 7px;border-radius:9px}
    .marketplace-language-trigger,.marketplace-owner-menu .marketplace-account-trigger{width:32px;min-width:32px;padding:0}
    .marketplace-owner-label{display:none}
    .marketplace-shopper-menu .marketplace-account-label{display:inline}
    .marketplace-account-dropdown{position:fixed!important;z-index:500;top:58px!important;right:8px!important;left:auto!important;min-width:196px;max-width:calc(100vw - 16px);max-height:calc(100vh - 72px);overflow:auto}
    .marketplace-language-menu .marketplace-account-dropdown{right:84px!important}
    .marketplace-owner-menu .marketplace-account-dropdown{right:44px!important}
    .marketplace-shopper-menu .marketplace-account-dropdown{right:8px!important}
}


/* 4K.13 explicit account-menu toggle state for mobile browser reliability */
.marketplace-account-menu{position:relative}
.marketplace-account-menu>[data-marketplace-menu-toggle]{appearance:none;-webkit-appearance:none}
.marketplace-account-dropdown[hidden]{display:none!important}
.marketplace-account-menu.is-open>.marketplace-account-dropdown{display:block!important}
.marketplace-account-menu.is-open>.marketplace-account-trigger{background:#f8fafc;border-color:#b9c4d3}
.marketplace-account-menu.is-open{z-index:1200}

@media(max-width:640px){
    .marketplace-account-trigger{height:30px;min-height:30px}
    .marketplace-language-trigger,.marketplace-owner-menu.is-guest .marketplace-account-trigger{width:30px;min-width:30px;padding:0}
    .marketplace-owner-menu.is-guest .marketplace-owner-label{display:none}
    .marketplace-owner-menu.is-authenticated .marketplace-owner-label{display:inline;max-width:82px;overflow:hidden;text-overflow:ellipsis}
    .marketplace-shopper-menu.is-authenticated .marketplace-shopper-label{display:inline;max-width:82px;overflow:hidden;text-overflow:ellipsis}
    .marketplace-shopper-menu.is-guest .marketplace-shopper-label{display:inline}
}


/* 4K.14 mobile account dropdown visibility */
@media(max-width:760px){
    .marketplace-topbar{
        overflow:visible!important;
        position:relative;
        z-index:1400;
    }
}
@media(max-width:640px){
    .marketplace-account-menus,
    .marketplace-account-menu{
        overflow:visible!important;
    }
    .marketplace-account-dropdown{
        z-index:1500!important;
        visibility:visible;
        opacity:1;
        pointer-events:auto;
    }
    .marketplace-account-dropdown[hidden]{
        display:none!important;
    }
    .marketplace-account-menu.is-open>.marketplace-account-dropdown{
        display:block!important;
    }
}


/* 4K.15 RTL mobile account-menu anchoring */
@media(max-width:640px){
    html[dir="rtl"] .marketplace-account-menus{
        direction:rtl;
    }
    html[dir="rtl"] .marketplace-account-dropdown{
        right:auto!important;
        left:8px!important;
        direction:rtl;
        text-align:right;
    }
    html[dir="rtl"] .marketplace-language-menu .marketplace-account-dropdown{
        right:auto!important;
        left:84px!important;
    }
    html[dir="rtl"] .marketplace-owner-menu .marketplace-account-dropdown{
        right:auto!important;
        left:44px!important;
    }
    html[dir="rtl"] .marketplace-shopper-menu .marketplace-account-dropdown{
        right:auto!important;
        left:8px!important;
    }
    html[dir="rtl"] .marketplace-account-dropdown a,
    html[dir="rtl"] .marketplace-account-dropdown button,
    html[dir="rtl"] .marketplace-account-disabled{
        text-align:right;
    }
    html[dir="rtl"] .marketplace-account-count{
        right:auto;
        left:-5px;
    }
}


/* 4K.16 RTL submenu row alignment */
html[dir="rtl"] .marketplace-account-dropdown a,
html[dir="rtl"] .marketplace-account-dropdown button,
html[dir="rtl"] .marketplace-account-disabled{
    justify-content:flex-start;
    direction:rtl;
    text-align:right;
}
html[dir="rtl"] .marketplace-account-dropdown a>span:first-child,
html[dir="rtl"] .marketplace-account-dropdown button>span:first-child,
html[dir="rtl"] .marketplace-account-disabled>span:first-child{
    order:0;
    flex:0 0 18px;
    width:18px;
    margin:0;
    text-align:center;
}
html[dir="rtl"] .marketplace-account-dropdown .marketplace-dropdown-count{
    margin-inline-start:auto;
    margin-inline-end:0;
}
html[dir="rtl"] .marketplace-language-dropdown a{
    justify-content:flex-start;
}
html[dir="rtl"] .marketplace-language-dropdown a>span:first-child{
    flex:1 1 auto;
    width:auto;
    text-align:right;
}
html[dir="rtl"] .marketplace-language-dropdown a>strong{
    margin-inline-start:auto;
    margin-inline-end:0;
}


/* 4K.17 RTL mobile topbar distribution */
@media(max-width:640px){
    html[dir="rtl"] .marketplace-topbar{
        direction:rtl;
        justify-content:flex-start;
    }
    html[dir="rtl"] .marketplace-brand{
        order:1;
        margin-right:0!important;
        margin-left:auto!important;
        flex:0 1 auto;
    }
    html[dir="rtl"] .marketplace-account-menus{
        order:2;
        margin:0;
        flex:0 0 auto;
        justify-content:flex-start;
    }
}


/* 4K.18 compact radius selector + reward filter */
.marketplace-radius-select{
    display:inline-flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
    color:#475467;
    font-size:12px;
    font-weight:850;
}
.marketplace-radius-select>span{
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.marketplace-radius-select select{
    height:30px;
    min-width:92px;
    border:1px solid var(--mk-line);
    border-radius:9px;
    background:#fff;
    color:#344054;
    padding:0 28px 0 9px;
    font-size:12px;
    font-weight:850;
    cursor:pointer;
}
@media(max-width:640px){
    .marketplace-radius-select select{
        min-width:88px;
        height:28px;
        font-size:11px;
    }
    .marketplace-search-meta{
        gap:7px;
    }
}


/* 4K.19 premium clay-to-glass marketplace visual system */
:root{
    --mk-glass:rgba(255,255,255,.72);
    --mk-glass-strong:rgba(255,255,255,.88);
    --mk-glass-border:rgba(255,255,255,.82);
    --mk-glass-line:rgba(148,163,184,.24);
    --mk-blue-strong:#155eef;
    --mk-blue-deep:#0b4ee8;
    --mk-blue-soft:#eaf2ff;
    --mk-violet-soft:#eef2ff;
    --mk-clay-shadow:0 18px 44px rgba(30,64,175,.10),0 2px 8px rgba(15,23,42,.06),inset 0 1px 0 rgba(255,255,255,.86);
    --mk-clay-shadow-soft:0 10px 28px rgba(30,64,175,.08),0 2px 6px rgba(15,23,42,.045),inset 0 1px 0 rgba(255,255,255,.80);
}
.marketplace-body{
    min-height:100vh;
    background:
        radial-gradient(circle at 14% 8%,rgba(103,178,255,.22),transparent 28rem),
        radial-gradient(circle at 86% 12%,rgba(167,139,250,.16),transparent 25rem),
        radial-gradient(circle at 54% 46%,rgba(94,234,212,.09),transparent 32rem),
        linear-gradient(180deg,#f8fbff 0%,#f3f7ff 42%,#f7f9fc 100%);
    background-attachment:fixed;
}
.marketplace-body::before,
.marketplace-body::after{
    content:"";
    position:fixed;
    z-index:-1;
    width:280px;
    height:280px;
    border-radius:48% 52% 62% 38%/44% 47% 53% 56%;
    filter:blur(28px);
    opacity:.48;
    pointer-events:none;
}
.marketplace-body::before{left:-100px;top:110px;background:rgba(125,211,252,.26)}
.marketplace-body::after{right:-100px;top:210px;background:rgba(196,181,253,.22)}
.marketplace-topbar{
    height:64px;
    margin:10px clamp(10px,2.2vw,30px) 0;
    padding-inline:clamp(14px,2vw,28px);
    border:1px solid var(--mk-glass-border);
    border-radius:18px;
    background:rgba(255,255,255,.76);
    -webkit-backdrop-filter:blur(22px) saturate(145%);
    backdrop-filter:blur(22px) saturate(145%);
    box-shadow:var(--mk-clay-shadow-soft);
}
.marketplace-brand{font-size:18px;letter-spacing:-.02em}
.marketplace-brand-mark{
    width:36px;
    height:36px;
    border-radius:12px;
    color:#fff;
    background:linear-gradient(145deg,#3b82f6,#2457e6);
    box-shadow:0 8px 18px rgba(37,99,235,.22),inset 0 1px 0 rgba(255,255,255,.30);
}
.marketplace-account-trigger{
    border-color:rgba(148,163,184,.30);
    background:rgba(255,255,255,.70);
    box-shadow:0 4px 12px rgba(15,23,42,.045),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-account-trigger:hover,
.marketplace-account-menu.is-open>.marketplace-account-trigger{
    border-color:rgba(37,99,235,.24);
    background:#fff;
    box-shadow:0 7px 18px rgba(37,99,235,.10);
}
.marketplace-account-dropdown{
    border-color:rgba(148,163,184,.20);
    background:rgba(255,255,255,.92);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
    backdrop-filter:blur(20px) saturate(145%);
    box-shadow:0 20px 52px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-shopper-notice{
    width:min(1180px,calc(100% - 28px));
    box-sizing:border-box;
    margin:10px auto 0;
    padding:7px 12px;
    border:1px solid rgba(147,197,253,.42);
    border-radius:13px;
    background:rgba(239,246,255,.70);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    box-shadow:0 8px 24px rgba(37,99,235,.06),inset 0 1px 0 rgba(255,255,255,.8);
}
.marketplace-shopper-notice:not(.marketplace-shopper-notice-context):not(.marketplace-shopper-notice-warning){
    color:#24458d;
}
.marketplace-main{max-width:1480px;padding-top:4px}
.marketplace-discovery-bar{
    position:relative;
    isolation:isolate;
    margin:12px clamp(10px,2vw,28px) 8px;
    padding:clamp(18px,2.4vw,28px);
    overflow:hidden;
    border:1px solid var(--mk-glass-border);
    border-radius:26px;
    background:
        linear-gradient(135deg,rgba(255,255,255,.86),rgba(248,251,255,.66)),
        rgba(255,255,255,.68);
    -webkit-backdrop-filter:blur(24px) saturate(140%);
    backdrop-filter:blur(24px) saturate(140%);
    box-shadow:var(--mk-clay-shadow);
}
.marketplace-discovery-bar::before{
    content:"";
    position:absolute;
    z-index:-1;
    width:360px;
    height:220px;
    inset-inline-end:-70px;
    top:-100px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(96,165,250,.25),rgba(129,140,248,.08) 54%,transparent 72%);
    filter:blur(2px);
}
.marketplace-discovery-bar::after{
    content:"";
    position:absolute;
    z-index:-1;
    width:220px;
    height:180px;
    inset-inline-start:16%;
    bottom:-120px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(45,212,191,.14),transparent 68%);
}
.marketplace-section-title{
    align-items:flex-end;
    margin-bottom:16px;
}
.marketplace-section-kicker{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:5px;
    color:#526889;
    font-size:10px;
    font-weight:950;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.marketplace-section-kicker::before{
    content:"";
    width:18px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,#2563eb,#8b5cf6);
}
.marketplace-section-title h1{
    margin:0;
    color:#101828;
    font-size:clamp(27px,3vw,42px);
    line-height:1.02;
    letter-spacing:-.045em;
    background:linear-gradient(100deg,#0f172a 8%,#155eef 68%,#6d5dfc 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}
.marketplace-section-title p{
    margin-top:7px;
    color:#667b9a;
    font-size:13px;
}
.marketplace-location-btn{
    min-height:42px;
    padding:0 15px;
    border:1px solid rgba(245,158,11,.34);
    border-radius:13px;
    background:linear-gradient(145deg,rgba(255,251,235,.96),rgba(254,243,199,.78));
    color:#995f00;
    box-shadow:0 8px 18px rgba(245,158,11,.10),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-location-btn:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(245,158,11,.14)}
.marketplace-search-shell{
    position:relative;
    padding:10px;
    border:1px solid rgba(255,255,255,.92);
    border-radius:20px;
    background:rgba(255,255,255,.62);
    -webkit-backdrop-filter:blur(16px) saturate(135%);
    backdrop-filter:blur(16px) saturate(135%);
    box-shadow:0 12px 34px rgba(30,64,175,.08),inset 0 1px 0 rgba(255,255,255,.95);
}
.marketplace-search-main{
    grid-template-columns:minmax(230px,1.45fr) minmax(200px,1fr) auto;
    gap:9px;
}
.marketplace-search-main label{
    min-height:48px;
    box-sizing:border-box;
    border:1px solid rgba(148,163,184,.18);
    border-radius:14px;
    background:rgba(248,250,252,.72);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 10px rgba(15,23,42,.025);
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.marketplace-search-main label:focus-within{
    border-color:rgba(37,99,235,.42);
    background:rgba(255,255,255,.94);
    box-shadow:0 0 0 4px rgba(37,99,235,.08),inset 0 1px 0 #fff;
}
.marketplace-search-main label span{
    color:#7788a5;
    font-size:10px;
    letter-spacing:.08em;
}
.marketplace-search-main input{
    color:#22324d;
    font-size:14px;
    font-weight:650;
}
.marketplace-search-main input::placeholder{color:#7b89a2;opacity:.92}
.marketplace-search-btn{
    min-width:112px;
    min-height:48px;
    border-radius:14px;
    background:linear-gradient(145deg,#2874ff,#155eef 58%,#3154dc);
    box-shadow:0 10px 24px rgba(37,99,235,.26),inset 0 1px 0 rgba(255,255,255,.28);
    transition:transform .16s ease,box-shadow .16s ease;
}
.marketplace-search-btn:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(37,99,235,.31)}
.marketplace-search-meta{
    margin-top:10px;
    padding:0;
    gap:9px;
}
.marketplace-radius-select{
    min-height:34px;
    padding:3px 5px 3px 9px;
    border:1px solid rgba(148,163,184,.20);
    border-radius:12px;
    background:rgba(255,255,255,.76);
    box-shadow:0 5px 13px rgba(15,23,42,.04),inset 0 1px 0 rgba(255,255,255,.92);
}
.marketplace-radius-select>span{color:#6b7c99}
.marketplace-radius-select select,
.marketplace-compact-select select{
    border-color:transparent;
    background:rgba(246,249,255,.82);
    color:#30415f;
    box-shadow:none;
}
.marketplace-filter-toggles{
    flex:1 1 520px;
    justify-content:flex-end;
    gap:7px;
}
.marketplace-toggle{
    position:relative;
    min-height:34px;
    box-sizing:border-box;
    padding:4px 10px 4px 8px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:11px;
    background:rgba(255,255,255,.68);
    color:#42536e;
    box-shadow:0 4px 11px rgba(15,23,42,.03),inset 0 1px 0 rgba(255,255,255,.9);
    cursor:pointer;
    transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.marketplace-toggle:hover{
    transform:translateY(-1px);
    border-color:rgba(37,99,235,.24);
    background:rgba(255,255,255,.92);
}
.marketplace-toggle input{
    width:16px;
    height:16px;
    margin:0;
    accent-color:var(--mk-blue-strong);
}
.marketplace-toggle:has(input:checked){
    border-color:rgba(37,99,235,.30);
    background:linear-gradient(145deg,rgba(239,246,255,.96),rgba(238,242,255,.82));
    color:#174aa9;
    box-shadow:0 6px 14px rgba(37,99,235,.08),inset 0 1px 0 #fff;
}
.marketplace-category-rail{
    position:relative;
    margin-top:11px;
    padding:2px 1px 4px;
    gap:7px;
}
.marketplace-category-chip{
    min-height:34px;
    padding:7px 12px;
    border-color:rgba(148,163,184,.20);
    background:rgba(255,255,255,.72);
    color:#415473;
    box-shadow:0 4px 11px rgba(15,23,42,.035),inset 0 1px 0 rgba(255,255,255,.92);
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.marketplace-category-chip:hover{transform:translateY(-1px);border-color:rgba(37,99,235,.25)}
.marketplace-category-chip.active{
    border-color:rgba(21,94,239,.94);
    background:linear-gradient(145deg,#152441,#0f172a);
    color:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.10);
}
.marketplace-campaign-chip{
    border-color:rgba(129,140,248,.18);
    background:rgba(248,250,255,.70);
    box-shadow:0 4px 12px rgba(79,70,229,.035),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-featured-section{
    margin:0 clamp(10px,2vw,28px);
    padding:7px 2px 9px;
}
.marketplace-explorer{
    padding:4px clamp(10px,2vw,28px) 34px;
    gap:14px;
}
.marketplace-results-pane,
.marketplace-map-pane{
    border:1px solid rgba(255,255,255,.82);
    border-radius:22px;
    background:rgba(255,255,255,.72);
    -webkit-backdrop-filter:blur(18px) saturate(130%);
    backdrop-filter:blur(18px) saturate(130%);
    box-shadow:var(--mk-clay-shadow-soft);
}
.marketplace-results-pane{padding:14px}
.marketplace-results-head{
    top:-14px;
    margin-bottom:12px;
    padding:12px 2px 10px;
    border-bottom:1px solid rgba(148,163,184,.13);
    background:rgba(255,255,255,.86);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
}
.marketplace-results-head h2{font-size:21px;color:#101828}
.marketplace-map-pane{
    overflow:hidden;
    background:rgba(255,255,255,.82);
}
.marketplace-map-pane #marketplaceMap{filter:saturate(.93) contrast(.98)}
.marketplace-map-status{
    left:14px;
    bottom:14px;
    padding:9px 12px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:11px;
    background:rgba(15,23,42,.84);
    box-shadow:0 10px 24px rgba(15,23,42,.18);
}
.marketplace-store-card{
    border:1px solid rgba(148,163,184,.16);
    border-radius:17px;
    background:rgba(255,255,255,.76);
    box-shadow:0 7px 20px rgba(15,23,42,.045),inset 0 1px 0 rgba(255,255,255,.94);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.marketplace-store-card:hover,
.marketplace-store-card.map-active{
    transform:translateY(-2px);
    border-color:rgba(37,99,235,.23);
    background:rgba(255,255,255,.94);
    box-shadow:0 14px 30px rgba(37,99,235,.10),0 3px 8px rgba(15,23,42,.05),inset 0 1px 0 #fff;
}
.marketplace-store-logo{
    border:1px solid rgba(255,255,255,.78);
    background:linear-gradient(145deg,#eef4ff,#f4f0ff);
    box-shadow:0 8px 18px rgba(30,64,175,.10),inset 0 1px 0 #fff;
}
.marketplace-store-title-row h3{color:#15233d;letter-spacing:-.015em}
.marketplace-distance{
    border:1px solid rgba(52,211,153,.18);
    background:rgba(236,253,243,.82);
    color:#047857;
}
.marketplace-store-tags span{
    border:1px solid rgba(148,163,184,.10);
    background:rgba(241,245,249,.72);
    color:#53647e;
}
.marketplace-store-tags .marketplace-reward-badge{
    display:inline-flex;
    align-items:center;
    gap:4px;
    border-color:rgba(34,197,94,.18);
    background:linear-gradient(145deg,rgba(236,253,245,.98),rgba(220,252,231,.76));
    color:#087443;
    font-weight:900;
}
.marketplace-reward-badge>span{border:0;background:transparent;padding:0;color:#16a34a}
.marketplace-action-btn{
    border-radius:11px;
    box-shadow:0 4px 11px rgba(15,23,42,.04),inset 0 1px 0 rgba(255,255,255,.72);
}
.marketplace-action-btn.is-primary{
    background:linear-gradient(145deg,#1f6fff,#155eef 62%,#234bd7);
    box-shadow:0 8px 18px rgba(37,99,235,.20),inset 0 1px 0 rgba(255,255,255,.24);
}
.marketplace-empty{
    border-color:rgba(148,163,184,.24);
    background:rgba(248,250,252,.66);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip{
    background:rgba(255,255,255,.94);
}
.leaflet-popup-content-wrapper{
    border:1px solid rgba(255,255,255,.84);
    border-radius:16px;
    box-shadow:0 18px 42px rgba(15,23,42,.18);
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
}

@media(max-width:980px){
    .marketplace-topbar{margin-inline:8px}
    .marketplace-discovery-bar{margin-inline:8px}
    .marketplace-explorer{padding-inline:8px}
    .marketplace-search-main{grid-template-columns:1fr 1fr auto}
}
@media(max-width:640px){
    .marketplace-body{background-attachment:scroll}
    .marketplace-body::before,.marketplace-body::after{width:180px;height:180px;opacity:.34}
    .marketplace-topbar{
        height:54px;
        margin:6px 6px 0;
        padding-inline:9px;
        border-radius:15px;
        gap:6px;
    }
    .marketplace-brand{font-size:14px}
    .marketplace-brand-mark{width:30px;height:30px;border-radius:10px}
    .marketplace-shopper-notice{
        width:calc(100% - 12px);
        margin-top:6px;
        border-radius:12px;
    }
    .marketplace-discovery-bar{
        margin:8px 6px 6px;
        padding:14px 10px 12px;
        border-radius:20px;
    }
    .marketplace-section-title{align-items:center;margin-bottom:10px}
    .marketplace-section-kicker{display:none}
    .marketplace-section-title h1{
        font-size:24px;
        letter-spacing:-.035em;
    }
    .marketplace-section-title p{display:none}
    .marketplace-location-btn{min-height:38px;padding-inline:11px;border-radius:12px}
    .marketplace-search-shell{padding:7px;border-radius:16px}
    .marketplace-search-main{
        grid-template-columns:minmax(0,1fr) 48px;
        gap:6px;
    }
    .marketplace-search-main label{min-height:40px;border-radius:11px;padding-inline:9px}
    .marketplace-search-main input{font-size:13px}
    .marketplace-search-btn{
        min-width:48px;
        width:48px;
        min-height:40px;
        border-radius:12px;
    }
    .marketplace-search-meta{
        align-items:center;
        flex-wrap:wrap;
        gap:6px;
    }
    .marketplace-radius-select{
        min-height:32px;
        border-radius:10px;
        padding-inline-start:7px;
    }
    .marketplace-radius-select>span{display:none}
    .marketplace-filter-toggles{
        flex:1 1 100%;
        justify-content:flex-start;
        gap:5px;
        overflow-x:auto;
        padding:1px 0 2px;
        scrollbar-width:none;
    }
    .marketplace-filter-toggles::-webkit-scrollbar{display:none}
    .marketplace-toggle{
        flex:0 0 auto;
        min-height:31px;
        padding:3px 8px;
        border-radius:9px;
        font-size:11px;
    }
    .marketplace-toggle input{width:15px;height:15px}
    .marketplace-compact-select{flex:0 0 auto}
    .marketplace-compact-select select{height:31px;border:1px solid rgba(148,163,184,.14);border-radius:9px}
    .marketplace-category-rail{margin-top:8px}
    .marketplace-category-chip{min-height:31px;padding:6px 10px}
    .marketplace-featured-section{margin-inline:7px}
    .marketplace-explorer{padding:3px 6px 20px;gap:8px}
    .marketplace-results-pane,.marketplace-map-pane{border-radius:17px}
    .marketplace-results-pane{padding:10px}
    .marketplace-results-head{top:-10px;padding-top:9px}
    .marketplace-results-head h2{font-size:18px}
    .marketplace-map-status{left:10px;bottom:10px}
    .marketplace-store-card{
        border-radius:15px;
        box-shadow:0 6px 16px rgba(15,23,42,.04),inset 0 1px 0 rgba(255,255,255,.92);
    }
    .marketplace-store-card:hover,.marketplace-store-card.map-active{transform:none}
    html[dir="rtl"] .marketplace-search-meta,
    html[dir="rtl"] .marketplace-filter-toggles{direction:rtl}
}
@media(prefers-reduced-motion:reduce){
    .marketplace-location-btn,
    .marketplace-search-btn,
    .marketplace-toggle,
    .marketplace-category-chip,
    .marketplace-store-card,
    .marketplace-product-card,
    .marketplace-product-image,
    .marketplace-product-view-btn{transition:none!important;transform:none!important}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    .marketplace-topbar,
    .marketplace-shopper-notice,
    .marketplace-discovery-bar,
    .marketplace-search-shell,
    .marketplace-results-pane,
    .marketplace-map-pane,
    .marketplace-account-dropdown{background:#fff}
}


/* 4K.19 compact app-style marketplace discovery */
.marketplace-discovery-compact{
    padding:12px clamp(14px,2vw,26px) 10px;
}
.marketplace-discovery-compact .marketplace-section-title{
    position:relative;
    min-height:58px;
    margin-bottom:7px;
    align-items:center;
    overflow:hidden;
}
.marketplace-title-copy{
    position:relative;
    z-index:2;
    min-width:0;
}
.marketplace-discovery-compact .marketplace-section-title h1{
    margin:0;
    font-size:clamp(29px,3vw,39px);
    line-height:1;
    letter-spacing:-.045em;
}
.marketplace-hero-art{
    position:absolute;
    inset-inline-end:180px;
    top:-17px;
    width:150px;
    height:92px;
    pointer-events:none;
    opacity:.96;
    filter:drop-shadow(0 12px 16px rgba(37,99,235,.12));
}
.marketplace-hero-art svg{
    display:block;
    width:100%;
    height:100%;
}
.marketplace-location-btn{
    position:relative;
    z-index:3;
    min-height:34px;
    padding:6px 11px;
    gap:6px;
    border-radius:10px;
    font-size:12px;
    box-shadow:0 5px 14px rgba(16,185,129,.08),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-control-svg,
.marketplace-filter-icon{
    width:17px;
    height:17px;
    flex:0 0 17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.marketplace-search-shell{
    padding:6px;
    border-radius:15px;
}
.marketplace-search-main{
    grid-template-columns:minmax(230px,1.6fr) minmax(170px,1fr) minmax(92px,.46fr) auto;
    gap:6px;
    align-items:stretch;
}
.marketplace-search-main .marketplace-field,
.marketplace-radius-select{
    display:flex;
    align-items:center;
    min-width:0;
    min-height:38px;
    padding:0 10px;
    gap:7px;
    border:1px solid rgba(148,163,184,.16);
    border-radius:10px;
    background:rgba(248,250,252,.72);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.94);
}
.marketplace-search-main .marketplace-field:focus-within,
.marketplace-radius-select:focus-within{
    border-color:rgba(37,99,235,.34);
    background:rgba(255,255,255,.92);
    box-shadow:0 0 0 3px rgba(37,99,235,.07),inset 0 1px 0 #fff;
}
.marketplace-search-main .marketplace-control-svg,
.marketplace-radius-select .marketplace-control-svg{
    color:#2563eb;
}
.marketplace-search-main .marketplace-field input{
    height:36px;
    font-size:13px;
    font-weight:650;
    color:#24324a;
}
.marketplace-search-main .marketplace-field input::placeholder{
    color:#7b8aa5;
    opacity:1;
}
.marketplace-radius-select{
    padding-inline-end:5px;
}
.marketplace-radius-select select{
    height:36px;
    min-width:74px;
    border:0;
    background:transparent;
    padding:0 24px 0 0;
    font-size:12px;
    font-weight:850;
    box-shadow:none;
}
html[dir="rtl"] .marketplace-radius-select select{
    padding:0 0 0 24px;
}
.marketplace-search-btn{
    min-width:104px;
    min-height:38px;
    border-radius:10px;
    padding:0 15px;
    gap:7px;
    box-shadow:0 8px 20px rgba(37,99,235,.20),inset 0 1px 0 rgba(255,255,255,.24);
}
.marketplace-search-btn .marketplace-search-icon{
    display:block;
    width:18px;
    height:18px;
}
.marketplace-search-btn .marketplace-search-label{
    position:static;
    width:auto;
    height:auto;
    padding:0;
    margin:0;
    overflow:visible;
    clip:auto;
    white-space:nowrap;
    border:0;
}
.marketplace-search-meta{
    margin-top:5px;
    padding:0;
    gap:5px;
    align-items:center;
}
.marketplace-filter-toggles{
    width:100%;
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
    overflow-x:auto;
    scrollbar-width:none;
}
.marketplace-filter-toggles::-webkit-scrollbar{display:none}
.marketplace-toggle,
.marketplace-compact-select{
    flex:0 0 auto;
    min-height:31px;
    border:1px solid rgba(148,163,184,.15);
    border-radius:9px;
    background:rgba(255,255,255,.72);
    box-shadow:0 3px 9px rgba(15,23,42,.035),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-toggle{
    position:relative;
    padding:3px 8px 3px 6px;
    gap:5px;
    font-size:11px;
}
html[dir="rtl"] .marketplace-toggle{
    padding:3px 6px 3px 8px;
}
.marketplace-toggle .marketplace-filter-icon,
.marketplace-compact-select .marketplace-filter-icon{
    width:15px;
    height:15px;
    flex-basis:15px;
    color:#41658d;
}
.marketplace-toggle input{
    width:14px;
    height:14px;
    margin:0;
    accent-color:#2563eb;
}
.marketplace-toggle:has(input:checked){
    border-color:rgba(37,99,235,.22);
    background:linear-gradient(145deg,rgba(239,246,255,.98),rgba(238,242,255,.90));
    color:#174ea6;
}
.marketplace-toggle:has(input:checked) .marketplace-filter-icon{
    color:#2563eb;
}
.marketplace-compact-select{
    display:flex;
    align-items:center;
    gap:4px;
    padding-inline-start:7px;
}
.marketplace-compact-select select{
    height:29px;
    min-width:92px;
    border:0;
    background:transparent;
    padding:0 24px 0 2px;
    font-size:11px;
    font-weight:800;
    color:#344054;
}
.marketplace-sort-select{margin-inline-start:auto}
.marketplace-sort-select select{min-width:112px}
.marketplace-category-rail{
    margin-top:7px;
    padding-bottom:1px;
    gap:5px;
}
.marketplace-category-chip{
    min-height:29px;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    box-shadow:0 3px 8px rgba(15,23,42,.03),inset 0 1px 0 rgba(255,255,255,.88);
}
.marketplace-category-chip.active{
    background:linear-gradient(145deg,#13213a,#0f1f3d);
    box-shadow:0 7px 16px rgba(15,31,61,.14),inset 0 1px 0 rgba(255,255,255,.12);
}
.marketplace-campaign-rail{
    margin-top:5px;
}
.marketplace-explorer{
    padding-top:1px;
}
.marketplace-results-head{
    padding-top:9px;
    padding-bottom:8px;
    margin-bottom:8px;
}
.marketplace-results-head h2{
    font-size:19px;
}
.marketplace-store-card{
    padding:9px;
    gap:8px 10px;
}
.marketplace-store-logo{
    width:44px;
    height:44px;
    border-radius:12px;
}
.marketplace-store-title-row h3{
    font-size:14px;
    line-height:1.2;
}
.marketplace-store-description{
    -webkit-line-clamp:1;
}
.marketplace-store-meta-row{
    margin-top:2px;
}
.marketplace-store-tags{
    margin-top:4px;
}
.marketplace-store-actions{
    gap:5px;
}
.marketplace-action-btn{
    min-height:32px;
}
.marketplace-map-pane{
    min-height:430px;
}
.marketplace-map-pane #marketplaceMap{
    min-height:430px;
}

@media(max-width:1120px){
    .marketplace-hero-art{inset-inline-end:150px;opacity:.78}
    .marketplace-search-main{
        grid-template-columns:minmax(210px,1.45fr) minmax(150px,.9fr) minmax(88px,.42fr) auto;
    }
    .marketplace-sort-select{margin-inline-start:0}
}
@media(max-width:760px){
    .marketplace-discovery-compact{
        padding:10px 9px 8px;
    }
    .marketplace-discovery-compact .marketplace-section-title{
        min-height:45px;
        margin-bottom:6px;
    }
    .marketplace-discovery-compact .marketplace-section-title h1{
        font-size:27px;
    }
    .marketplace-hero-art{
        inset-inline-end:108px;
        top:-12px;
        width:92px;
        height:64px;
        opacity:.72;
    }
    .marketplace-location-btn{
        min-height:32px;
        padding:5px 8px;
        font-size:11px;
    }
    .marketplace-location-btn .marketplace-control-svg{
        width:15px;
        height:15px;
        flex-basis:15px;
    }
    .marketplace-search-shell{
        padding:5px;
        border-radius:14px;
    }
    .marketplace-search-main{
        grid-template-columns:minmax(0,1fr) 44px;
        grid-template-areas:
            "query submit"
            "area radius";
        gap:5px;
    }
    .marketplace-field-query{grid-area:query}
    .marketplace-field-area{grid-area:area}
    .marketplace-radius-select{grid-area:radius}
    .marketplace-search-btn{grid-area:submit}
    .marketplace-search-main .marketplace-field,
    .marketplace-radius-select{
        min-height:36px;
        padding-inline:8px;
        border-radius:9px;
    }
    .marketplace-search-main .marketplace-field input{
        height:34px;
        font-size:12px;
    }
    .marketplace-radius-select{
        min-width:112px;
    }
    .marketplace-radius-select select{
        width:100%;
        min-width:0;
        height:34px;
        font-size:11px;
    }
    .marketplace-search-btn{
        min-width:44px;
        width:44px;
        min-height:36px;
        padding:0;
        border-radius:10px;
        display:grid;
        place-items:center;
    }
    .marketplace-search-btn .marketplace-search-label{
        position:absolute;
        width:1px;
        height:1px;
        padding:0;
        margin:-1px;
        overflow:hidden;
        clip:rect(0,0,0,0);
        white-space:nowrap;
        border:0;
    }
    .marketplace-search-meta{
        margin-top:4px;
    }
    .marketplace-filter-toggles{
        gap:4px;
        padding-bottom:1px;
    }
    .marketplace-toggle,
    .marketplace-compact-select{
        min-height:29px;
        border-radius:8px;
    }
    .marketplace-toggle{
        padding:2px 7px 2px 5px;
        font-size:10.5px;
    }
    html[dir="rtl"] .marketplace-toggle{padding:2px 5px 2px 7px}
    .marketplace-toggle input{width:13px;height:13px}
    .marketplace-toggle .marketplace-filter-icon,
    .marketplace-compact-select .marketplace-filter-icon{
        width:14px;
        height:14px;
        flex-basis:14px;
    }
    .marketplace-compact-select select{
        height:27px;
        min-width:84px;
        font-size:10.5px;
    }
    .marketplace-sort-select select{min-width:98px}
    .marketplace-category-rail{
        margin-top:6px;
        gap:4px;
    }
    .marketplace-category-chip{
        min-height:28px;
        padding:5px 9px;
        font-size:10.5px;
    }
    .marketplace-campaign-rail{
        margin-top:4px;
    }
    .marketplace-featured-section{
        padding-top:3px;
    }
    .marketplace-explorer{
        padding-top:0;
    }
}
@media(max-width:430px){
    .marketplace-discovery-compact .marketplace-section-title{
        min-height:42px;
    }
    .marketplace-discovery-compact .marketplace-section-title h1{
        font-size:24px;
    }
    .marketplace-hero-art{
        inset-inline-end:94px;
        width:74px;
        height:54px;
        top:-9px;
        opacity:.58;
    }
    .marketplace-location-btn{
        max-width:116px;
        padding-inline:7px;
    }
    .marketplace-location-btn span{
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .marketplace-search-main{
        grid-template-columns:minmax(0,1fr) 42px;
    }
    .marketplace-search-btn{
        min-width:42px;
        width:42px;
    }
    .marketplace-radius-select{
        min-width:104px;
    }
    .marketplace-filter-toggles{
        max-width:100%;
    }
    .marketplace-store-card{
        padding:8px;
    }
    .marketplace-store-logo{
        width:42px;
        height:42px;
    }
    .marketplace-map-pane,
    .marketplace-map-pane #marketplaceMap{
        min-height:300px;
    }
}


/* 4K.20 mobile search rows, compact map and guidance */
.marketplace-field-caption{
    display:none;
    color:#2563eb;
    font-size:10px;
    line-height:1;
    font-weight:900;
    white-space:nowrap;
    letter-spacing:.01em;
}
.marketplace-instructions{
    display:flex;
    align-items:center;
    gap:12px;
    margin:4px clamp(10px,2vw,28px) 28px;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.84);
    border-radius:18px;
    background:rgba(255,255,255,.70);
    -webkit-backdrop-filter:blur(18px) saturate(130%);
    backdrop-filter:blur(18px) saturate(130%);
    box-shadow:0 10px 28px rgba(37,99,235,.07),inset 0 1px 0 rgba(255,255,255,.95);
}
.marketplace-instructions-icon{
    display:grid;
    place-items:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:14px;
    color:#2563eb;
    background:linear-gradient(145deg,rgba(219,234,254,.96),rgba(238,242,255,.86));
    box-shadow:0 7px 18px rgba(37,99,235,.10),inset 0 1px 0 #fff;
}
.marketplace-instructions-icon svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.marketplace-instructions-copy{min-width:0}
.marketplace-instructions h2{
    margin:0 0 3px;
    color:#1456c8;
    font-size:15px;
    line-height:1.2;
}
.marketplace-instructions p{
    margin:0;
    color:#60708b;
    font-size:11.5px;
    line-height:1.45;
}

@media(max-width:820px){
    .marketplace-discovery-compact{
        padding-top:7px;
        padding-bottom:7px;
    }
    .marketplace-discovery-compact .marketplace-section-title{
        min-height:38px;
        margin-bottom:3px;
    }
    .marketplace-discovery-compact .marketplace-section-title h1{
        font-size:21px;
        line-height:1.05;
        letter-spacing:-.035em;
    }
    .marketplace-hero-art{
        top:-8px;
        inset-inline-end:110px;
        width:76px;
        height:52px;
        opacity:.65;
    }

    /*
     * Explicitly reset older absolute-position mobile search rules.
     * Row 1: Search + Search button
     * Row 2: City / Area + Radius
     */
    .marketplace-search-main{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 86px!important;
        grid-template-areas:
            "query submit"
            "area radius"!important;
        gap:5px!important;
        align-items:stretch;
    }
    .marketplace-search-main .marketplace-field-query{
        grid-area:query!important;
    }
    .marketplace-search-main .marketplace-field-area{
        grid-area:area!important;
        display:flex!important;
        visibility:visible!important;
    }
    .marketplace-search-main .marketplace-radius-select{
        grid-area:radius!important;
    }
    .marketplace-search-main .marketplace-search-btn{
        grid-area:submit!important;
        position:static!important;
        inset:auto!important;
        right:auto!important;
        top:auto!important;
    }

    .marketplace-search-main .marketplace-field,
    .marketplace-search-main .marketplace-radius-select,
    .marketplace-search-main .marketplace-search-btn{
        box-sizing:border-box!important;
        min-height:40px!important;
        height:40px!important;
        border-radius:10px!important;
    }
    .marketplace-search-main .marketplace-field{
        min-width:0;
        padding:0 8px!important;
        gap:5px;
    }
    .marketplace-field-caption{
        display:inline-flex;
        flex:0 0 auto;
        color:#2563eb;
    }
    .marketplace-search-main .marketplace-field input{
        min-width:0;
        height:38px!important;
        padding:0!important;
        font-size:11.5px!important;
        font-weight:700;
    }
    .marketplace-search-main .marketplace-field input::placeholder{
        color:#8390a6;
        font-weight:650;
    }
    .marketplace-search-main .marketplace-control-svg{
        width:15px;
        height:15px;
        flex-basis:15px;
    }
    .marketplace-search-main .marketplace-radius-select{
        min-width:0!important;
        width:auto!important;
        padding:0 6px!important;
        gap:4px;
    }
    .marketplace-search-main .marketplace-radius-select select{
        width:100%!important;
        min-width:0!important;
        height:38px!important;
        padding-inline-start:0!important;
        font-size:11px!important;
    }
    .marketplace-search-main .marketplace-search-btn{
        width:86px!important;
        min-width:86px!important;
        padding:0 9px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:5px!important;
    }
    .marketplace-search-main .marketplace-search-btn .marketplace-search-icon{
        display:block!important;
        width:16px!important;
        height:16px!important;
    }
    .marketplace-search-main .marketplace-search-btn .marketplace-search-label{
        position:static!important;
        display:inline!important;
        width:auto!important;
        height:auto!important;
        padding:0!important;
        margin:0!important;
        overflow:visible!important;
        clip:auto!important;
        white-space:nowrap!important;
        color:#fff;
        font-size:11px;
        line-height:1;
    }

    .marketplace-map-pane{
        height:29vh!important;
        min-height:220px!important;
        max-height:270px!important;
    }
    .marketplace-map-pane #marketplaceMap{
        height:100%!important;
        min-height:0!important;
    }

    .marketplace-instructions{
        margin:4px 7px 18px;
        padding:11px 12px;
        gap:9px;
        border-radius:15px;
    }
    .marketplace-instructions-icon{
        flex-basis:36px;
        width:36px;
        height:36px;
        border-radius:12px;
    }
    .marketplace-instructions-icon svg{
        width:19px;
        height:19px;
    }
    .marketplace-instructions h2{
        font-size:13px;
        margin-bottom:2px;
    }
    .marketplace-instructions p{
        font-size:10.5px;
        line-height:1.4;
    }

    html[dir="rtl"] .marketplace-search-main{
        direction:rtl;
    }
    html[dir="rtl"] .marketplace-field-caption{
        text-align:right;
    }
}

@media(max-width:430px){
    .marketplace-discovery-compact .marketplace-section-title{
        min-height:35px;
        margin-bottom:2px;
    }
    .marketplace-discovery-compact .marketplace-section-title h1{
        font-size:19px;
    }
    .marketplace-hero-art{
        inset-inline-end:98px;
        width:64px;
        height:46px;
        top:-7px;
    }
    .marketplace-search-main{
        grid-template-columns:minmax(0,1fr) 80px!important;
    }
    .marketplace-search-main .marketplace-search-btn{
        width:80px!important;
        min-width:80px!important;
    }
    .marketplace-search-main .marketplace-field,
    .marketplace-search-main .marketplace-radius-select,
    .marketplace-search-main .marketplace-search-btn{
        min-height:38px!important;
        height:38px!important;
    }
    .marketplace-search-main .marketplace-field input,
    .marketplace-search-main .marketplace-radius-select select{
        height:36px!important;
    }
    .marketplace-field-caption{
        font-size:9.5px;
    }
    .marketplace-search-main .marketplace-field input{
        font-size:11px!important;
    }
    .marketplace-map-pane{
        height:238px!important;
        min-height:210px!important;
        max-height:238px!important;
    }
}


/* CPS-2 cross-store product discovery */
.marketplace-product-section{
    padding:4px clamp(14px,3vw,44px) 12px;
}
.marketplace-product-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    margin-bottom:9px;
}
.marketplace-product-head h2{
    margin:0;
    font-size:17px;
    line-height:1.2;
    letter-spacing:-.02em;
}
.marketplace-product-head #marketplaceProductHint{
    display:block;
    margin-top:3px;
    color:var(--mk-muted);
    font-size:11px;
    line-height:1.4;
}
.marketplace-product-count{
    flex:0 0 auto;
    padding:5px 9px;
    border:1px solid var(--mk-line);
    border-radius:999px;
    background:#fff;
    color:#475467;
    font-size:10.5px;
    font-weight:800;
    white-space:nowrap;
}
.marketplace-product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(205px,1fr));
    gap:9px;
}
.marketplace-product-section.is-loading .marketplace-product-grid{
    opacity:.55;
    pointer-events:none;
}
.marketplace-product-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    height:100%;
    overflow:hidden;
    border:1px solid var(--mk-line);
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 20px rgba(15,23,42,.045);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.marketplace-product-card:hover,
.marketplace-product-card:focus-within{
    transform:translateY(-2px);
    border-color:#c7d7fe;
    box-shadow:0 12px 28px rgba(15,23,42,.085);
}
.marketplace-product-image-link{
    position:relative;
    display:block;
    height:158px;
    overflow:hidden;
    background:linear-gradient(180deg,#fbfdff 0%,#f6f8fb 100%);
    text-decoration:none;
}
.marketplace-product-image-link.is-disabled{
    cursor:default;
}
.marketplace-product-image{
    display:block;
    width:100%;
    height:100%;
    padding:10px;
    box-sizing:border-box;
    object-fit:contain;
    transition:transform .2s ease;
}
.marketplace-product-card:hover .marketplace-product-image,
.marketplace-product-card:focus-within .marketplace-product-image{
    transform:scale(1.025);
}
.marketplace-product-stock-badge,
.marketplace-product-new-badge{
    position:absolute;
    top:8px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:3px 7px;
    border-radius:999px;
    font-size:9.5px;
    font-weight:900;
    line-height:1;
    box-shadow:0 3px 10px rgba(15,23,42,.10);
}
.marketplace-product-stock-badge{
    inset-inline-start:8px;
    color:#065f46;
    background:rgba(236,253,245,.96);
}
.marketplace-product-new-badge{
    inset-inline-end:8px;
    color:#1d4ed8;
    background:rgba(239,246,255,.96);
}
.marketplace-product-card-body{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    gap:7px;
    padding:10px;
}
.marketplace-product-copy{
    min-width:0;
}
.marketplace-product-copy h3{
    margin:0;
    color:var(--mk-ink);
    font-size:13px;
    line-height:1.3;
    font-weight:850;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    min-height:34px;
}
.marketplace-product-copy p{
    margin:3px 0 0;
    color:var(--mk-muted);
    font-size:10.5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.marketplace-product-price-row{
    display:flex;
    align-items:baseline;
    gap:7px;
    flex-wrap:wrap;
}
.marketplace-product-price-row strong{
    color:var(--mk-ink);
    font-size:13.5px;
    font-weight:900;
}
.marketplace-product-card.is-on-sale .marketplace-product-price-row strong{
    color:#b42318;
}
.marketplace-product-price-row del{
    color:#98a2b3;
    font-size:10.5px;
}
.marketplace-product-store-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    min-width:0;
    padding:6px 7px;
    border:1px solid #edf0f5;
    border-radius:9px;
    background:#fafbfc;
    color:#667085;
    font-size:10.5px;
}
.marketplace-product-store-name{
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
}
.marketplace-product-store-name svg{
    flex:0 0 auto;
    width:13px;
    height:13px;
    fill:none;
    stroke:#667085;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.marketplace-product-store-name span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.marketplace-product-distance{
    flex:0 0 auto;
    padding:2px 5px;
    border:1px solid #e4e7ec;
    border-radius:999px;
    background:#fff;
    color:#475467;
    font-size:9.5px;
    font-weight:850;
    white-space:nowrap;
}
.marketplace-product-view-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-height:32px;
    margin-top:auto;
    padding-block:5px;
    padding-inline:9px 6px;
    border:1px solid #dbeafe;
    border-radius:9px;
    background:#eff6ff;
    color:#1d4ed8;
    text-decoration:none;
    font-size:10.5px;
    font-weight:850;
    transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.marketplace-product-view-btn:hover,
.marketplace-product-view-btn:focus-visible{
    border-color:#bfdbfe;
    background:#dbeafe;
    color:#1e40af;
    outline:none;
}
.marketplace-product-view-arrow{
    flex:0 0 auto;
    width:21px;
    height:21px;
    display:grid;
    place-items:center;
    border-radius:7px;
    background:#fff;
    font-size:11px;
    line-height:1;
}
.marketplace-product-view-btn.is-disabled{
    color:#98a2b3;
    border-color:#eaecf0;
    background:#f2f4f7;
}
.marketplace-product-empty{
    grid-column:1/-1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-height:90px;
    padding:16px;
    border:1px dashed var(--mk-line);
    border-radius:14px;
    background:#fff;
    color:var(--mk-muted);
    text-align:center;
}
.marketplace-product-empty strong{
    color:#344054;
    font-size:12px;
}
.marketplace-product-empty span{
    font-size:10.5px;
}

@media(max-width:820px){
    .marketplace-product-section{
        padding:2px 7px 9px;
    }
    .marketplace-product-head{
        align-items:flex-start;
        margin-bottom:7px;
    }
    .marketplace-product-head h2{
        font-size:14px;
    }
    .marketplace-product-head #marketplaceProductHint{
        max-width:72vw;
        font-size:9.5px;
    }
    .marketplace-product-count{
        padding:4px 7px;
        font-size:9px;
    }
    .marketplace-product-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:6px;
    }
    .marketplace-product-image-link{
        height:128px;
    }
    .marketplace-product-card-body{
        gap:5px;
        padding:8px;
    }
    .marketplace-product-copy h3{
        font-size:11.5px;
        min-height:30px;
    }
    .marketplace-product-copy p,
    .marketplace-product-store-row,
    .marketplace-product-price-row del{
        font-size:9.5px;
    }
    .marketplace-product-price-row strong{
        font-size:11.5px;
    }
    .marketplace-product-view-btn{
        min-height:29px;
        font-size:9.5px;
    }
}

@media(max-width:560px){
    .marketplace-product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .marketplace-product-image-link{
        height:136px;
    }
    .marketplace-product-head{
        gap:8px;
    }
    .marketplace-product-count{
        max-width:38vw;
        overflow:hidden;
        text-overflow:ellipsis;
    }
}

@media(max-width:360px){
    .marketplace-product-image-link{
        height:118px;
    }
    .marketplace-product-card-body{
        padding:7px;
    }
}

/* 4K.21 marketplace compact controls, mobile containment and product-card polish */
.marketplace-discovery-compact .marketplace-section-title h1{
    font-size:clamp(25px,2.4vw,32px);
}
.marketplace-search-main .marketplace-field,
.marketplace-radius-select,
.marketplace-search-btn{
    min-height:33px;
}
.marketplace-search-main .marketplace-field input,
.marketplace-radius-select select{
    height:31px;
}
.marketplace-search-btn{
    min-height:33px;
    padding-block:0;
}
.marketplace-radius-select select:focus,
.marketplace-radius-select select:focus-visible{
    outline:none;
    box-shadow:none;
}
.marketplace-radius-select:focus-within{
    border-color:rgba(37,99,235,.46);
    box-shadow:0 0 0 3px rgba(37,99,235,.10),inset 0 1px 0 #fff;
}
.marketplace-product-image{
    padding:0;
    object-fit:cover;
}
.marketplace-product-stock-badge,
.marketplace-product-new-badge{
    top:7px;
    min-height:18px;
    padding:2px 6px;
    font-size:9px;
}
.marketplace-product-view-btn{
    min-height:27px;
    padding-block:3px;
    font-size:11.5px;
    font-weight:900;
}
.marketplace-product-view-arrow{
    width:18px;
    height:18px;
    border-radius:6px;
    font-size:10px;
}

@media(max-width:820px){
    .marketplace-topbar{
        grid-template-columns:minmax(0,1fr) auto;
        box-sizing:border-box;
        width:calc(100% - 12px);
        max-width:calc(100% - 12px);
        margin-inline:6px;
    }
    .marketplace-brand{
        min-width:0;
        overflow:hidden;
    }
    .marketplace-brand>span:last-child{
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .marketplace-account-menus{
        grid-column:2;
        min-width:0;
        max-width:100%;
        flex:0 1 auto;
    }
    .marketplace-account-trigger{
        max-width:100%;
    }
    .marketplace-discovery-compact .marketplace-section-title h1{
        font-size:20px;
    }
    .marketplace-search-main{
        grid-template-columns:minmax(0,1fr) 112px!important;
    }
    .marketplace-search-main .marketplace-field,
    .marketplace-search-main .marketplace-radius-select,
    .marketplace-search-main .marketplace-search-btn{
        min-height:34px!important;
        height:34px!important;
    }
    .marketplace-field-caption{
        display:none!important;
    }
    .marketplace-search-main .marketplace-field input,
    .marketplace-search-main .marketplace-radius-select select{
        height:32px!important;
    }
    .marketplace-search-main .marketplace-radius-select{
        width:112px!important;
        min-width:112px!important;
        padding-inline:7px!important;
    }
    .marketplace-search-main .marketplace-radius-select select{
        min-width:76px!important;
        font-size:12px!important;
        font-weight:850;
    }
    .marketplace-search-main .marketplace-search-btn{
        width:112px!important;
        min-width:112px!important;
        padding-inline:10px!important;
    }
    .marketplace-filter-toggles{
        box-sizing:border-box;
        max-width:100%;
        padding-inline-end:8px;
        scroll-padding-inline:8px;
        overscroll-behavior-inline:contain;
    }
    .marketplace-product-stock-badge,
    .marketplace-product-new-badge{
        min-height:17px;
        padding:2px 5px;
        font-size:8.5px;
    }
    .marketplace-product-view-btn{
        min-height:26px;
        padding-block:2px;
        font-size:10.5px;
    }
}

@media(max-width:430px){
    .marketplace-topbar{
        gap:5px;
        padding-inline:8px;
    }
    .marketplace-account-menus{
        gap:3px;
    }
    .marketplace-shopper-menu .marketplace-account-label{
        max-width:66px!important;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    .marketplace-discovery-compact .marketplace-section-title h1{
        font-size:18px;
    }
    .marketplace-search-main{
        grid-template-columns:minmax(0,1fr) 108px!important;
    }
    .marketplace-search-main .marketplace-radius-select,
    .marketplace-search-main .marketplace-search-btn{
        width:108px!important;
        min-width:108px!important;
    }
    .marketplace-filter-toggles{
        flex-wrap:wrap;
        overflow-x:visible;
        padding-inline-end:0;
    }
    .marketplace-toggle,
    .marketplace-compact-select{
        max-width:100%;
    }
}


/* 4K.22 resilient mobile filter rail + compact category bulbs */
.marketplace-category-chip{
    border-radius:10px;
}
@media(max-width:820px){
    .marketplace-filter-toggles{
        flex-wrap:nowrap!important;
        overflow-x:auto!important;
        overflow-y:hidden;
        justify-content:flex-start;
        width:100%;
        max-width:100%;
        padding-inline-end:10px;
        scroll-padding-inline:8px;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
        overscroll-behavior-inline:contain;
    }
    .marketplace-filter-toggles::-webkit-scrollbar{display:none}
    .marketplace-toggle,
    .marketplace-compact-select{
        flex:0 0 auto;
        max-width:none;
    }
    .marketplace-category-chip{
        border-radius:9px;
    }
}
@media(max-width:430px){
    .marketplace-filter-toggles{
        flex-wrap:nowrap!important;
        overflow-x:auto!important;
        padding-inline-end:10px;
    }
    .marketplace-toggle,
    .marketplace-compact-select{
        max-width:none;
    }
    .marketplace-category-chip{
        border-radius:8px;
    }
}

/* 4K.23 compact location ON/OFF toggle */
.marketplace-location-toggle{
    min-width:146px;
    max-width:none;
    min-height:40px;
    padding:5px 7px 5px 8px;
    gap:7px;
    justify-content:flex-start;
    border-radius:12px;
    border:1px solid #dfe7f3;
    background:#fff;
    color:#344054;
    box-shadow:0 4px 14px rgba(15,23,42,.05),inset 0 1px 0 rgba(255,255,255,.9);
}
.marketplace-location-toggle .marketplace-control-svg{
    flex:0 0 18px;
    width:18px;
    height:18px;
}
.marketplace-location-toggle-copy{
    display:grid;
    gap:1px;
    min-width:47px;
    margin-inline-end:auto;
    text-align:start;
    line-height:1;
}
.marketplace-location-toggle-label{
    color:#667085;
    font-size:9px;
    font-weight:800;
    letter-spacing:.01em;
}
.marketplace-location-toggle-state{
    color:#344054;
    font-size:10.5px;
    font-weight:950;
    letter-spacing:.03em;
}
.marketplace-location-switch{
    position:relative;
    flex:0 0 38px;
    width:38px;
    height:22px;
    border-radius:999px;
    background:#d0d5dd;
    box-shadow:inset 0 1px 3px rgba(15,23,42,.16);
    transition:background .16s ease;
}
.marketplace-location-switch-knob{
    position:absolute;
    inset-block-start:3px;
    inset-inline-start:3px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 1px 4px rgba(15,23,42,.24);
    transition:inset-inline-start .16s ease,transform .16s ease;
}
.marketplace-location-toggle.is-active{
    border-color:#b7e6cb;
    background:#f3fcf7;
    color:#047857;
}
.marketplace-location-toggle.is-active .marketplace-location-switch,
.marketplace-location-toggle.is-locating .marketplace-location-switch{
    background:#22c55e;
}
.marketplace-location-toggle.is-active .marketplace-location-switch-knob,
.marketplace-location-toggle.is-locating .marketplace-location-switch-knob{
    inset-inline-start:19px;
}
.marketplace-location-toggle.is-locating{
    border-color:#c9d9ff;
    background:#f4f7ff;
    color:#1d4ed8;
}
.marketplace-location-toggle.is-locating .marketplace-location-switch{
    background:#3b82f6;
}
.marketplace-location-toggle.is-locating .marketplace-location-switch-knob{
    animation:marketplace-location-toggle-pulse .8s ease-in-out infinite alternate;
}
.marketplace-location-toggle.is-blocked{
    border-color:#f7caa7;
    background:#fff8f3;
    color:#b54708;
}
.marketplace-location-toggle:focus-visible{
    outline:none;
    border-color:rgba(37,99,235,.52);
    box-shadow:0 0 0 3px rgba(37,99,235,.12),0 4px 14px rgba(15,23,42,.05);
}
@keyframes marketplace-location-toggle-pulse{
    from{transform:scale(.92)}
    to{transform:scale(1.06)}
}
@media(max-width:430px){
    .marketplace-location-toggle{
        min-width:96px;
        max-width:110px;
        min-height:38px;
        padding-inline:7px;
        gap:6px;
    }
    .marketplace-location-toggle-copy{
        min-width:25px;
    }
    .marketplace-location-toggle-label{
        display:none;
    }
    .marketplace-location-toggle-state{
        font-size:9px;
    }
    .marketplace-location-switch{
        flex-basis:34px;
        width:34px;
        height:20px;
    }
    .marketplace-location-switch-knob{
        inset-block-start:3px;
        width:14px;
        height:14px;
    }
    .marketplace-location-toggle.is-active .marketplace-location-switch-knob,
    .marketplace-location-toggle.is-locating .marketplace-location-switch-knob{
        inset-inline-start:17px;
    }
}
@media(prefers-reduced-motion:reduce){
    .marketplace-location-switch,
    .marketplace-location-switch-knob{
        transition:none;
        animation:none!important;
    }
}
