/* ==========================================================================
   Zoompri — css/zp-site-shops.css  (H2 site install, shops unit, 2026-11-11)
   Views: store (/store/<slug>/), shops (/store-listing/), map (/map/). Loaded only on those claimed views,
   after zp-h2-home.css → zp-kit.css → zp-site.css. Kit tokens only; every new class is zps-shops-*.
   ========================================================================== */

/* ---------- shared ---------- */
.zp-h2 .zps-shops-h2{font-size:clamp(32px,8vw,56px);margin:12px 0 26px}
.zp-h2 .zps-shops-more{padding-top:24px}
.zp-h2 .sec.zps-shops-tight{padding-bottom:72px}

/* ---------- store: head ---------- */
.zp-h2 .zps-shops-head .crumb{flex-wrap:wrap;row-gap:0}
.zp-h2 .zps-shops-vh{margin-top:14px;flex-wrap:nowrap;align-items:center}
.zp-h2 .zps-shops-vt{min-width:0}
.zp-h2 .zps-shops-head .v-name{overflow-wrap:anywhere;margin:0}
.zp-h2 .zps-shops-head .v-ver{margin-top:8px}
.zp-h2 .zps-shops-head .v-ver .ic{width:18px;height:18px;color:var(--mint);flex:none}
.zp-h2 .zps-shops-logo{overflow:hidden;background:var(--card)}
.zp-h2 .zps-shops-logo img{width:100%;height:100%;object-fit:cover}
.zp-h2 .zps-shops-stats{margin-top:28px}
.zp-h2 .zps-shops-stats .stat{padding:20px 22px}
.zp-h2 .zps-shops-stats .stat b{font-size:clamp(40px,11vw,56px)}
.zp-h2 .zps-shops-head .dh-a{margin-top:24px}
@media(max-width:559.98px){
.zp-h2 .zps-shops-vh .av{width:60px;height:60px;font-size:21px}
.zp-h2 .zps-shops-vh{gap:14px}
}

/* ---------- store: offers, info ---------- */
.zp-h2 .zps-shops-ap{margin:-10px 0 22px}
.zp-h2 .zps-shops-grid{list-style:none;padding:0}
.zp-h2 .zps-shops-pg{margin-top:32px}
.zp-h2 .zps-shops-info{display:grid;gap:14px;margin-top:40px}
.zp-h2 .zps-shops-info .box{align-content:start}
.zp-h2 .zps-shops-addr{display:flex;align-items:flex-start;gap:10px;font-size:17px;color:var(--ink)}
.zp-h2 .zps-shops-addr .ic{flex:none;width:20px;height:20px;margin-top:2px;color:var(--f)}
.zp-h2 .zps-shops-where .lnk,.zp-h2 .zps-shops-contact .lnk{color:var(--f);margin:-6px 0 -10px}
.zp-h2 .zps-shops-contact ul{list-style:none;padding:0;display:grid}
.zp-h2 .zps-shops-bio{color:var(--mute);font-size:16.5px;line-height:1.6}
.zp-h2 .zps-shops-bio p+p{margin-top:.8em}
.zp-h2 .zps-shops-rvo{display:block;font-size:14px;font-weight:600;color:var(--f);text-underline-offset:3px}
@media(min-width:760px){
.zp-h2 .zps-shops-info{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.zp-h2 .zps-shops-info .zps-shops-about{grid-column:1/-1}
}

/* ---------- directory ---------- */
.zp-h2 .zps-shops-sl{padding:0;margin-bottom:0}
.zp-h2 .zps-shops-sl a{min-height:76px}
.zp-h2 .zps-shops-sl a>span:nth-child(2){min-width:0}
.zp-h2 .zps-shops-sl .ri.zps-shops-logo{padding:0}

/* ---------- map (rebuilt 2026-11-27: single-screen browsing map) ----------
   Colours: tokens only. Each --mp-* reads the light layer's --z-* token (sage, and blue over it) and falls back to
   the kit token for the dark base, so one set of rules serves every theme. Map tiles are the only non-token colour.
   Header height is never assumed: js sets --zps-top (measured); the fallback is the kit's own --bh + --ch.
   App layout = html.zp-js and the section not .nomap; otherwise (no JS, Leaflet or tiles failed) a plain column. */
/* kept from the 2026-11-11 sheet: the store page's active-filter row (.zps-shops-ap) takes this top margin */
.zp-h2 .zps-shops-ap{margin-top:14px}

.zp-h2 .sec.zps-shops-mp,.zp-h2 .sec.zps-shops-mp0{
--mp-top:var(--zps-top,calc(var(--bh) + var(--ch)));
--mp-paper:var(--z-bg,var(--paper));--mp-card:var(--z-card,var(--card));--mp-ink:var(--z-ink,var(--ink));--mp-mute:var(--z-mute,var(--mute));
--mp-deep:var(--z-deep,var(--f));--mp-deep-ink:var(--z-deep-ink,var(--card));--mp-deep-h:var(--z-deep-h,var(--f9));
--mp-pop:var(--z-pop,var(--lime));--mp-pop-ink:var(--z-pop-ink,var(--f9));
--mp-pri:var(--z-pri,var(--f));--mp-pri-ink:var(--z-pri-ink,var(--card));--mp-price:var(--z-price,var(--f));
--mp-soft:var(--z-soft,color-mix(in srgb,var(--f) 9%,var(--card)));
--mp-line:var(--z-line,var(--line));--mp-line2:var(--z-line2,color-mix(in srgb,var(--f) 22%,transparent));
--mp-fr:var(--z-fr,var(--f));--mp-sh:color-mix(in srgb,var(--mp-ink) 40%,transparent);
margin-top:0;border-radius:0;padding:0 0 46px;background:var(--mp-paper);color:var(--mp-ink)}
.zp-h2 .sec.zps-shops-mp0{padding:calc(var(--bh) + var(--ch) + 40px) 0 96px}
@media(min-width:861px){.zp-h2 .sec.zps-shops-mp{padding-bottom:56px}}
.zp-h2 .zps-shops-mp [hidden]{display:none!important}

/* layout: phone and tablet first */
.zp-h2 .zps-shops-mg{display:flex;flex-direction:column;padding-top:calc(var(--bh) + var(--ch))}
.zp-h2 .zps-shops-ma{position:relative;z-index:5;min-width:0;padding:12px 16px 0}
.zp-h2 .zps-shops-mh h1{font:800 clamp(30px,7.4vw,40px)/1.02 var(--fd);letter-spacing:-.035em;color:var(--mp-ink)}
.zp-h2 .zps-shops-mh p{margin-top:8px;font-size:15.5px;line-height:1.45;color:var(--mp-mute)}
.zp-h2 .zps-shops-mh p b{color:var(--mp-ink);font-weight:650}
.zp-h2 .zps-shops-mh{margin-bottom:14px}
.zp-h2 .zps-shops-mapcol{position:relative;min-width:0;padding:10px 16px 0}
.zp-h2 .zps-shops-mapbox{position:relative;border-radius:24px;overflow:hidden;background:var(--mp-soft);box-shadow:0 0 0 1px var(--mp-line),0 30px 60px -44px var(--mp-sh);isolation:isolate}
.zp-h2 .zps-shops-map{position:relative;z-index:0;width:100%;height:var(--zps-maph,clamp(220px,calc(100svh - var(--mp-top) - 270px),640px));background:var(--mp-soft)}
.zp-h2 .zps-shops-mb{min-width:0;padding:0 0 12px;outline:0}
.zp-h2 .zps-shops-cl{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 6px;min-height:44px;padding:4px 16px 2px}
.zp-h2 .zps-shops-cnt{margin-right:auto;font-size:15px;line-height:1.3;color:var(--mp-mute);min-width:0}
.zp-h2 .zps-shops-cnt b{color:var(--mp-ink);font-weight:650}
.zp-h2 .zps-shops-cl .clr{color:var(--mp-ink);font-size:14.5px;white-space:nowrap}
@media(max-width:860px){.zp-h2 .zps-shops-map{height:var(--zps-maph,clamp(220px,calc(100svh - var(--mp-top) - 358px),640px))}}

/* filters: three dropdown pills in the kit chip shape; each opens kit .ck chips. The choices panel is positioned
   from the form (not from the row), so the row can scroll sideways on phones without clipping it */
.zp-h2 .zps-shops-mf{position:relative;margin:0}
.zp-h2 .zps-shops-fr{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.zp-h2 .zps-shops-fs{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:44px;padding:0 11px 0 15px;border-radius:999px;background:var(--mp-card);border:1px solid var(--mp-line2);color:var(--mp-ink);font-size:14.5px;font-weight:500;line-height:1.2;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;transition:background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease)}
.zp-h2 .zps-shops-fs::-webkit-details-marker{display:none}
.zp-h2 .zps-shops-fs:hover{background:var(--mp-soft)}
.zp-h2 .zps-shops-fs .ic{flex:none;width:16px;height:16px;stroke-width:2.2;transition:transform .3s var(--ease)}
.zp-h2 .zps-shops-fl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zp-h2 .zps-shops-fs.on{background:var(--mp-deep);border-color:var(--mp-deep);color:var(--mp-deep-ink);font-weight:600}
.zp-h2 .zps-shops-fd[open]>.zps-shops-fs{border-color:var(--mp-ink);box-shadow:0 0 0 1px var(--mp-ink)}
.zp-h2 .zps-shops-fd[open]>.zps-shops-fs .ic{transform:rotate(180deg)}
.zp-h2 .zps-shops-fs:focus-visible{outline:2px solid var(--mp-fr);outline-offset:3px}
.zp-h2 .zps-shops-fd{min-width:0}
.zp-h2 .zps-shops-fo{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;min-width:0;margin:0;padding:14px;border:1px solid var(--mp-line);border-radius:22px;background:var(--mp-card);box-shadow:0 26px 54px -26px var(--mp-sh)}
.zp-h2 .zps-shops-fo .ckg{max-height:min(46svh,320px);overflow:auto;overscroll-behavior:contain;padding:3px}
.zp-h2 .zps-shops-go{flex:none}
.zp-js .zp-h2 .zps-shops-go{display:none}
.zp-h2 .zps-shops-qp{max-width:100%;min-width:0}

/* the map's own controls */
.zp-h2 .zps-shops-skip{position:absolute;left:28px;top:22px;z-index:6;padding:10px 14px;border-radius:999px;background:var(--mp-deep);color:var(--mp-deep-ink);font-size:14px;font-weight:600;text-decoration:none;opacity:0;pointer-events:none;transform:translateY(-6px)}
.zp-h2 .zps-shops-skip:focus{opacity:1;pointer-events:auto;transform:none}
.zp-h2 .zps-shops-nm{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 15px 0 12px;border:0;border-radius:999px;background:var(--mp-card);color:var(--mp-ink);font:600 14.5px/1 var(--fb);cursor:pointer;box-shadow:0 0 0 1px var(--mp-line),0 10px 24px -10px var(--mp-sh);transition:background .3s var(--ease),color .3s var(--ease)}
.zp-h2 .zps-shops-nm .ic{width:18px;height:18px}
.zp-h2 .zps-shops-nm:hover{background:var(--mp-soft)}
.zp-h2 .zps-shops-nm[aria-pressed=true]{background:var(--mp-pri);color:var(--mp-pri-ink)}
.zp-h2 .zps-shops-nm:focus-visible{outline:2px solid var(--mp-fr);outline-offset:3px}
.zp-h2 .zps-shops-nm[aria-busy=true]{cursor:progress;opacity:.75}
.zp-h2 .zps-shops-nmsg{position:absolute;top:64px;right:12px;z-index:3;max-width:min(280px,calc(100% - 24px));padding:10px 14px;border-radius:16px;background:var(--mp-card);color:var(--mp-ink);font-size:13.5px;line-height:1.35;box-shadow:0 0 0 1px var(--mp-line),0 10px 24px -10px var(--mp-sh)}
.zp-h2 .zps-shops-mapnote{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:var(--mp-paper)}
.zp-h2 .zps-shops-mapnote .di{width:56px;height:56px;border-radius:18px;background:var(--mp-soft);color:var(--mp-deep);display:grid;place-items:center}
.zp-h2 .zps-shops-mapnote .di .ic{width:26px;height:26px}
.zp-h2 .zps-shops-mapnote p{color:var(--mp-mute);max-width:36ch}
.zp-h2 .zps-shops-mapnote b{display:block;color:var(--mp-ink);font:800 24px/1.1 var(--fd);letter-spacing:-.03em;margin-bottom:6px}

/* the list: a plain column by default; the app layout turns it into a rail (phone) or the left column (desktop) */
.zp-h2 .zps-shops-cards{list-style:none;margin:0;padding:6px 16px 0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.zp-h2 .zps-shops-cards>li{min-width:0}
/* the deal card: the kit .dc, laid out sideways (image left) so more deals fit beside or under the map */
.zp-h2 .zps-shops-mc{position:relative;height:100%}
.zp-h2 .zps-shops-mc .dc{display:grid;grid-template-columns:108px minmax(0,1fr);height:100%}
.zp-h2 .zps-shops-mc .dc:hover{transform:none}
.zp-h2 .zps-shops-mc .dc-img{aspect-ratio:auto;height:auto;align-self:stretch}
.zp-h2 .zps-shops-mc .dc-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.zp-h2 .zps-shops-mc .dc-pct{top:8px;left:8px;font-size:13px;padding:6px 8px}
.zp-h2 .zps-shops-mc .dc-b{padding:12px 12px 12px 14px;gap:4px;min-width:0}
.zp-h2 .zps-shops-mc .dc-cat{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zp-h2 .zps-shops-mc .dc-t{font-size:15.5px;min-height:2.4em}
.zp-h2 .zps-shops-mc .dc-sel{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zp-h2 .zps-shops-mc .dc-pr{gap:4px 8px;padding-top:2px}
.zp-h2 .zps-shops-mc .dc-pr strong{font-size:26px}
.zp-h2 .zps-shops-mc .dc-pr s{font-size:14px}
.zp-h2 .zps-shops-mc .dc-sv{height:24px;font-size:12px;padding:0 9px}
.zp-h2 .zps-shops-mc .dc-go{display:none}
.zp-h2 .zps-shops-km{display:inline-flex;align-items:center;gap:4px;width:fit-content;font-size:12.5px;font-weight:600;color:var(--mp-ink)}
.zp-h2 .zps-shops-km .ic{width:13px;height:13px;stroke-width:2.2;color:var(--mp-pri)}
.zp-h2 .zps-shops-pin{position:absolute;left:8px;bottom:8px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:var(--mp-card);color:var(--mp-deep);cursor:pointer;box-shadow:0 8px 20px -8px var(--mp-sh);transition:background .3s var(--ease),color .3s var(--ease)}
.zp-h2 .zps-shops-pin .ic{width:20px;height:20px}
.zp-h2 .zps-shops-pin:hover,.zp-h2 .zps-shops-mc.on .zps-shops-pin{background:var(--mp-pop);color:var(--mp-pop-ink)}
.zp-h2 .zps-shops-pin:focus-visible{outline:2px solid var(--mp-fr);outline-offset:2px}
/* no map (no JS, or Leaflet / the tiles failed): a "show on the map" button would do nothing, so it is not shown */
html:not(.zp-js) .zp-h2 .zps-shops-pin,.zp-h2 .zps-shops-mp.nomap .zps-shops-pin{display:none}
.zp-h2 .zps-shops-mc.on .dc{border-color:var(--mp-deep);box-shadow:0 0 0 2px var(--mp-deep),0 24px 44px -30px var(--mp-sh)}
.zp-h2 .zps-shops-nopin{position:absolute;left:8px;right:auto;bottom:8px;z-index:2;max-width:92px;padding:4px 7px;border-radius:10px;background:var(--mp-card);font-size:11px;line-height:1.2;color:var(--mp-mute)}
.zp-h2 .zps-shops-me{margin:8px 16px 0;padding:22px 18px;gap:6px;border-radius:24px}
.zp-h2 .zps-shops-me h2{font-size:22px;margin-top:2px}
.zp-h2 .zps-shops-me p{font-size:14.5px}
.zp-h2 .zps-shops-me .di{width:44px;height:44px;border-radius:14px}
.zp-h2 .zps-shops-me .empty-a{margin-top:6px}

/* no map (no JS, or Leaflet / tiles failed): the map box shrinks to its note, the list is the page */
html:not(.zp-js) .zp-h2 .zps-shops-map,.zp-h2 .zps-shops-mp.nomap .zps-shops-map{display:none}
html:not(.zp-js) .zp-h2 .zps-shops-mapnote,.zp-h2 .zps-shops-mp.nomap .zps-shops-mapnote{position:static;flex-direction:row;justify-content:flex-start;gap:14px;padding:16px;text-align:left}
html:not(.zp-js) .zp-h2 .zps-shops-mapnote .di,.zp-h2 .zps-shops-mp.nomap .zps-shops-mapnote .di{flex:none;width:44px;height:44px;border-radius:14px}
html:not(.zp-js) .zp-h2 .zps-shops-mapnote b,.zp-h2 .zps-shops-mp.nomap .zps-shops-mapnote b{font-size:19px;margin-bottom:2px}
html:not(.zp-js) .zp-h2 .zps-shops-nm,.zp-h2 .zps-shops-mp.nomap .zps-shops-nm,.zp-h2 .zps-shops-mp.nomap .zps-shops-nmsg{display:none}
@media(min-width:560px){
html:not(.zp-js) .zp-h2 .zps-shops-cards,.zp-h2 .zps-shops-mp.nomap .zps-shops-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1024px){
html:not(.zp-js) .zp-h2 .zps-shops-mg,.zp-h2 .zps-shops-mp.nomap .zps-shops-mg{max-width:1280px;margin:0 auto;padding-left:16px;padding-right:16px;padding-bottom:72px}
html:not(.zp-js) .zp-h2 .zps-shops-ma,.zp-h2 .zps-shops-mp.nomap .zps-shops-ma{padding-top:36px}
html:not(.zp-js) .zp-h2 .zps-shops-cards,.zp-h2 .zps-shops-mp.nomap .zps-shops-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* app layout, phone and tablet: the title is for screen readers, the list is a sideways rail under the map */
@media(max-width:1023.98px){
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-mh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-mb{padding-bottom:6px}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-cards{display:flex;gap:10px;padding:4px 16px 10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-cards::-webkit-scrollbar{display:none}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-cards>li{flex:0 0 min(84vw,340px);scroll-snap-align:start}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-me{grid-template-columns:minmax(0,1fr);padding:16px}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-me .di{display:none}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-me h2{font-size:19px;margin:0}
}
@media(max-width:419.98px){
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-cards>li{flex-basis:88vw}
.zp-h2 .zps-shops-mc .dc{grid-template-columns:100px minmax(0,1fr)}
.zp-h2 .zps-shops-mc .dc-b{padding:11px 11px 11px 13px}
.zp-h2 .zps-shops-mc .dc-pr{gap:4px 6px}
.zp-h2 .zps-shops-mc .dc-pr strong{font-size:24px}
.zp-h2 .zps-shops-mc .dc-pr s{font-size:13px}
.zp-h2 .zps-shops-mc .dc-sv{padding:0 8px}
}
/* phone and tablet with the map on: the filter row is one line that scrolls sideways, like the header's category strip */
@media(max-width:1023.98px){
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-fr{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;margin:-6px -16px;padding:6px 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-fr::-webkit-scrollbar{display:none}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-fr>*{flex:none}
}
@media(max-width:559.98px){
.zp-h2 .zps-shops-map .leaflet-control-zoom.leaflet-bar{display:none}
/* a phone map has no room for a labelled button over the pins: "Near me" is a round button in the corner the zoom
   buttons would use (its name stays for screen readers) */
.zp-h2 .zps-shops-nm{top:auto;right:10px;bottom:30px;justify-content:center;width:44px;height:44px;min-height:0;padding:0;border-radius:50%}
.zp-h2 .zps-shops-nm span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.zp-h2 .zps-shops-nm .ic{width:20px;height:20px}
.zp-h2 .zps-shops-nmsg{top:auto;right:10px;bottom:84px}
}

/* app layout, desktop: list column beside a sticky full-height map */
@media(min-width:1024px){
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-mg{display:grid;grid-template-columns:clamp(368px,33vw,470px) minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;min-height:100svh;padding-left:max(32px,calc((100% - 1280px)/2 + 32px))}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-ma{grid-column:1;grid-row:1;padding:26px 20px 0 0}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-mb{grid-column:1;grid-row:2;padding:0 20px 24px 0}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-mapcol{grid-column:2;grid-row:1/3;position:sticky;top:var(--mp-top);height:calc(100svh - var(--mp-top));padding:16px 16px 16px 0}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-mapbox{height:100%;border-radius:28px}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-map{height:100%}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-cl{position:sticky;top:var(--mp-top);z-index:4;margin:6px -6px 0;padding:6px;background:var(--mp-paper)}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-cards{padding:4px 0 0}
.zp-js .zp-h2 .zps-shops-mp:not(.nomap) .zps-shops-me{margin:8px 0 0}
.zp-h2 .zps-shops-mh h1{font-size:clamp(32px,2.7vw,40px)}
.zp-h2 .zps-shops-mc .dc{grid-template-columns:128px minmax(0,1fr)}
.zp-h2 .zps-shops-mc .dc-t{font-size:16.5px}
.zp-h2 .zps-shops-mc .dc-pr strong{font-size:28px}
.zp-h2 .zps-shops-nm{top:16px;right:16px}
.zp-h2 .zps-shops-nmsg{top:70px;right:16px}
}

/* ---------- Leaflet, restyled to the kit (markup unchanged) ---------- */
.zp-h2 .zps-shops-map.leaflet-container{font:400 14px/1.4 var(--fb);background:var(--mp-soft);outline:0}
.zp-h2 .zps-shops-map.leaflet-container:focus-visible{outline:2px solid var(--mp-fr);outline-offset:-2px}
.zp-h2 .zps-shops-map .leaflet-bar{border:0;box-shadow:none;border-radius:0;display:grid;gap:8px}
.zp-h2 .zps-shops-map .leaflet-bar a,.zp-h2 .zps-shops-map .leaflet-bar a:hover,.zp-h2 .zps-shops-map .leaflet-bar a:first-child,.zp-h2 .zps-shops-map .leaflet-bar a:last-child{width:44px;height:44px;line-height:42px;border:0;border-radius:50%;background:var(--mp-card);color:var(--mp-ink);font:600 22px/42px var(--fb);box-shadow:0 0 0 1px var(--mp-line),0 10px 24px -10px var(--mp-sh);transition:background .3s var(--ease),color .3s var(--ease)}
.zp-h2 .zps-shops-map .leaflet-bar a:hover{background:var(--mp-deep);color:var(--mp-deep-ink)}
.zp-h2 .zps-shops-map .leaflet-bar a:focus-visible{outline:2px solid var(--mp-fr);outline-offset:2px}
.zp-h2 .zps-shops-map .leaflet-bar a.leaflet-disabled,.zp-h2 .zps-shops-map .leaflet-bar a.leaflet-disabled:hover{background:var(--mp-card);color:var(--mp-line2);cursor:default}
.zp-h2 .zps-shops-map .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 12px 12px 0}
.zp-h2 .zps-shops-map .leaflet-control-attribution{margin:0;background:color-mix(in srgb,var(--mp-card) 88%,transparent);color:var(--mp-mute);font-size:11px;line-height:1.5;padding:2px 8px;border-radius:10px 0 0 0}
.zp-h2 .zps-shops-map .leaflet-control-attribution a{color:var(--mp-ink)}
.zp-h2 .zps-shops-map .leaflet-popup{margin-bottom:10px}
.zp-h2 .zps-shops-map .leaflet-popup-content-wrapper{padding:0;border-radius:20px;overflow:hidden;background:var(--mp-card);color:var(--mp-ink);box-shadow:0 0 0 1px var(--mp-line),0 26px 54px -22px var(--mp-sh)}
.zp-h2 .zps-shops-map .leaflet-popup-content{margin:0;line-height:1.35}
.zp-h2 .zps-shops-map .leaflet-popup-tip{background:var(--mp-card);box-shadow:none}
.zp-h2 .zps-shops-map a.leaflet-popup-close-button{top:6px;right:6px;z-index:2;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--mp-soft);color:var(--mp-ink);font:500 20px/1 var(--fb)}
.zp-h2 .zps-shops-map a.leaflet-popup-close-button:hover{background:var(--mp-deep);color:var(--mp-deep-ink)}
.zp-h2 .zps-shops-map a.leaflet-popup-close-button:focus-visible{outline:2px solid var(--mp-fr);outline-offset:2px}
.zp-h2 .zps-shops-map a.leaflet-popup-close-button span{line-height:1}

/* pins: a dot at the shop and a price pill beside it. js picks the side (d-n above, d-s below, d-e right, d-w left, then the four corners)
   so no pill covers another; spots with no free side merge into one "N deals" pill (.grp, centred) */
.zp-h2 .zps-shops-pinw{width:0!important;height:0!important;margin:0!important;background:none;border:0}
.zp-h2 .zps-shops-pd{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:var(--mp-deep);border:2.5px solid var(--mp-card);box-shadow:0 2px 6px -1px var(--mp-sh)}
.zp-h2 .zps-shops-pb{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border-radius:999px;background:var(--mp-deep);color:var(--mp-deep-ink);border:2px solid var(--mp-card);font:700 13.5px/1 var(--fb);white-space:nowrap;font-variant-numeric:tabular-nums;box-shadow:0 8px 18px -8px var(--mp-sh);cursor:pointer;transition:background .2s var(--ease),color .2s var(--ease)}
.zp-h2 .zps-shops-pb::before{content:"";position:absolute;inset:-8px -3px}
.zp-h2 .zps-shops-pb.d-n{transform:translate(-50%,calc(-100% - 9px))}
.zp-h2 .zps-shops-pb.d-s{transform:translate(-50%,9px)}
.zp-h2 .zps-shops-pb.d-e{transform:translate(9px,-50%)}
.zp-h2 .zps-shops-pb.d-w{transform:translate(calc(-100% - 9px),-50%)}
.zp-h2 .zps-shops-pb.d-ne{transform:translate(4px,calc(-100% - 4px))}
.zp-h2 .zps-shops-pb.d-nw{transform:translate(calc(-100% - 4px),calc(-100% - 4px))}
.zp-h2 .zps-shops-pb.d-se{transform:translate(4px,4px)}
.zp-h2 .zps-shops-pb.d-sw{transform:translate(calc(-100% - 4px),4px)}
.zp-h2 .zps-shops-pb.d-c{transform:translate(-50%,-50%)}
.zp-h2 .zps-shops-pb b{display:grid;place-items:center;min-width:20px;height:20px;margin-left:-6px;padding:0 5px;border-radius:999px;background:var(--mp-pop);color:var(--mp-pop-ink);font-size:12px;font-weight:800}
.zp-h2 .zps-shops-pb.grp{background:var(--mp-card);color:var(--mp-ink);border-color:var(--mp-deep)}
.zp-h2 .zps-shops-pinw:hover .zps-shops-pb,.zp-h2 .zps-shops-pb.on{background:var(--mp-pop);color:var(--mp-pop-ink);border-color:var(--mp-card)}
.zp-h2 .zps-shops-pinw:hover .zps-shops-pb b,.zp-h2 .zps-shops-pb.on b{background:var(--mp-deep);color:var(--mp-deep-ink)}
.zp-h2 .zps-shops-pinw:hover .zps-shops-pd,.zp-h2 .zps-shops-pinw.on .zps-shops-pd{background:var(--mp-pop)}
.zp-h2 .zps-shops-pinw:focus-visible{outline:0}
.zp-h2 .zps-shops-pinw:focus-visible .zps-shops-pb{outline:2px solid var(--mp-fr);outline-offset:2px;box-shadow:0 0 0 2px var(--mp-card),0 8px 18px -8px var(--mp-sh)}
.zp-h2 .zps-shops-mew{width:0!important;height:0!important;margin:0!important;background:none;border:0}
.zp-h2 .zps-shops-mew i{position:absolute;left:-10px;top:-10px;width:20px;height:20px;border-radius:50%;background:var(--mp-pri);border:3px solid var(--mp-card);box-shadow:0 0 0 6px color-mix(in srgb,var(--mp-pri) 26%,transparent),0 2px 6px -1px var(--mp-sh)}

/* the small list a pin opens: the shop, then its deals */
.zp-h2 .zps-shops-gpop{width:264px;max-width:calc(100vw - 72px);padding:12px 8px 8px}
.zp-h2 .zps-shops-gpop-h{display:grid;gap:2px;margin:0 44px 0 8px}
.zp-h2 .zps-shops-gpop-h b{font:700 16px/1.2 var(--fd);letter-spacing:-.015em;color:var(--mp-ink)}
.zp-h2 .zps-shops-gpop-h small{font-size:13px;color:var(--mp-mute)}
.zp-h2 .zps-shops-gpop ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px;max-height:var(--zps-popmax,240px);overflow:auto;overscroll-behavior:contain}
.zp-h2 .zps-shops-gpop li a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:4px 8px 4px 4px;border-radius:12px;color:var(--mp-ink);text-decoration:none;transition:background .25s var(--ease)}
.zp-h2 .zps-shops-gpop li a:hover{background:color-mix(in srgb,var(--mp-soft) 45%,var(--mp-card))}
.zp-h2 .zps-shops-gpop li a:focus-visible{outline:2px solid var(--mp-fr);outline-offset:-2px}
.zp-h2 .zps-shops-gpop li img,.zp-h2 .zps-shops-gpop li a>span:first-child{width:44px;height:44px;border-radius:10px;object-fit:cover;background:var(--mp-soft)}
.zp-h2 .zps-shops-gpop-t{font:600 13.5px/1.25 var(--fb);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.zp-h2 .zps-shops-gpop strong{font:800 16px/1 var(--fd);letter-spacing:-.03em;color:var(--mp-price)}
.zp-h2 .zps-shops-gpop-s{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:2px 8px 0;font-size:13.5px;font-weight:600;color:var(--mp-ink);text-decoration:underline;text-underline-offset:3px}
.zp-h2 .zps-shops-gpop-s .ic{width:14px;height:14px}
.zp-h2 .zps-shops-gpop-s:focus-visible{outline:2px solid var(--mp-fr);outline-offset:2px}

@media(prefers-reduced-motion:reduce){
.zp-h2 .zps-shops-fs,.zp-h2 .zps-shops-fs .ic,.zp-h2 .zps-shops-nm,.zp-h2 .zps-shops-pin,.zp-h2 .zps-shops-pb,.zp-h2 .zps-shops-gpop li a,.zp-h2 .zps-shops-map .leaflet-bar a{transition:none}
.zp-h2 .zps-shops-cards{scroll-behavior:auto}
}
