/* Party Box — Vendor Marketplace (client shopping centre).
   Builds on castle.css + vendor.css design tokens. Map + list + live cart. */

.mkt-page { background: var(--mortar); }

/* ---- "request received" confirmation banner (deep-link from the request form) ---- */
.reqbanner {
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 1180px; margin: 22px auto -4px; padding: 14px 20px;
  border-radius: 16px; line-height: 1.5; color: var(--cream); font-size: 14.5px;
  background: linear-gradient(180deg, rgba(231,192,115,.16), rgba(231,192,115,.06));
  border: 1px solid rgba(231,192,115,.4);
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
}
.reqbanner .rb-ic { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.reqbanner b { color: var(--gold-light, #f3d699); }

/* ---- hero / address search ---- */
.mkt-hero {
  position: relative;
  padding: clamp(90px, 14vw, 150px) 20px 40px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(231,192,115,.16), transparent 60%),
    linear-gradient(180deg, var(--stone-900), var(--mortar));
  border-bottom: 1px solid rgba(231,192,115,.18);
}
.mkt-hero .eyebrow { color: var(--gold); }
.mkt-hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 6vw, 60px); line-height: 1.04; margin: 6px 0 12px; color: var(--cream);
}
.mkt-hero p.lead { max-width: 620px; margin: 0 auto 26px; color: #e6d6bf; opacity: .9; line-height: 1.6; }

.addrbar {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 720px; margin: 0 auto;
}
.addrbar .field { position: relative; flex: 1 1 320px; }
.addrbar input {
  width: 100%; padding: 16px 18px 16px 46px; border-radius: 999px;
  border: 1px solid rgba(231,192,115,.4); background: rgba(0,0,0,.34); color: var(--cream);
  font: inherit; font-size: 16px;
}
.addrbar input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,192,115,.18); }
.addrbar .field::before {
  content: "◈"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 16px;
}
.addrbar .geo {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(231,192,115,.4);
  color: var(--gold-light); border-radius: 999px; padding: 0 18px; font: inherit; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.addrbar .geo:hover { background: rgba(231,192,115,.14); }
.matchnote { margin: 14px auto 0; max-width: 620px; font-size: 13.5px; color: var(--gold-light); min-height: 18px; }

/* ---- category filter rail ---- */
.catrail {
  display: flex; gap: 8px; overflow-x: auto; padding: 16px 20px; max-width: 1280px; margin: 0 auto;
  scrollbar-width: thin;
}
.catrail .cchip {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(231,192,115,.32); background: rgba(255,255,255,.04); color: #e6d6bf;
  font: inherit; font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: .18s;
}
.catrail .cchip:hover { border-color: var(--gold); color: var(--cream); }
.catrail .cchip.on { background: linear-gradient(100deg,#ffe9bf,var(--gold) 60%,var(--gold-deep)); color: #4a330f; border-color: transparent; }

/* ---- main split: list + map ---- */
.mkt-main {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 6px 20px 70px; align-items: start;
}
@media (max-width: 940px) { .mkt-main { grid-template-columns: 1fr; } }
/* Let the grid columns and the flex text-blocks inside each card shrink, so a
   long vendor name + nowrap rating (or a service name + price) can never push a
   card wider than the phone viewport. Harmless on desktop (tracks are wide). */
.mkt-main > div { min-width: 0; }
.vcard .vc-top > div:first-child,
.svc > div:first-child { min-width: 0; }
.vcard h3, .svc .s-name, .svc .s-desc, .vcard .vc-bio { overflow-wrap: anywhere; }

/* ---- list toolbar: title + sort + view toggle ---- */
.mkt-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.tb-headline { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.tb-headline h2 { font-family: var(--serif); font-size: 30px; color: var(--cream); line-height: 1; }
.tb-headline .count {
  color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .04em;
  background: rgba(231,192,115,.12); border: 1px solid rgba(231,192,115,.28);
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.tb-controls { display: flex; align-items: center; gap: 10px; }
.sortwrap {
  position: relative; display: inline-flex; align-items: center;
  background: rgba(0,0,0,.34); border: 1px solid rgba(231,192,115,.3);
  border-radius: 999px; padding-left: 13px; transition: .18s;
}
.sortwrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,192,115,.16); }
.sortwrap .sort-ic { color: var(--gold); font-size: 13px; pointer-events: none; }
.sortwrap select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  color: var(--cream); font: inherit; font-weight: 700; font-size: 13px;
  padding: 9px 30px 9px 8px; cursor: pointer; outline: none;
}
.sortwrap select option { background: var(--stone-850); color: var(--cream); }
.sortwrap::after {
  content: "▾"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 11px; pointer-events: none;
}
.viewtoggle {
  display: none; background: rgba(0,0,0,.34); border: 1px solid rgba(231,192,115,.3);
  border-radius: 999px; padding: 3px;
}
.viewtoggle .vt-btn {
  border: 0; background: transparent; color: #cdbb9c; font: inherit; font-weight: 800;
  font-size: 12.5px; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.viewtoggle .vt-btn.on { background: linear-gradient(100deg,#ffe9bf,var(--gold) 60%,var(--gold-deep)); color: #4a330f; }

.vlist { display: flex; flex-direction: column; gap: 16px; }

/* ---- vendor card ---- */
.vcard {
  position: relative; padding: 18px 18px 16px 20px; transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s, border-color .2s;
  scroll-margin-top: 90px; overflow: hidden;
}
/* gold accent rail down the left, revealed on hover/active */
.vcard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.vcard:hover { transform: translateY(-3px); border-color: rgba(231,192,115,.5); box-shadow: 0 18px 40px rgba(0,0,0,.42); }
.vcard:hover::before { transform: scaleY(1); }
.vcard.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(231,192,115,.35), 0 18px 44px rgba(0,0,0,.5); }
.vcard.active::before { transform: scaleY(1); }

/* staggered entrance */
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.vcard.reveal { animation: cardIn .5s cubic-bezier(.2,.7,.3,1) backwards; }

.vcard .vc-top { display: flex; gap: 13px; align-items: flex-start; }
/* monogram avatar with rank badge */
.vc-avatar {
  position: relative; flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 21px;
  color: #3a2a08; background: radial-gradient(120% 120% at 30% 20%, #fff4d8, var(--gold) 55%, var(--gold-deep));
  box-shadow: inset 0 1px 2px rgba(255,255,255,.5), 0 6px 14px rgba(0,0,0,.32);
}
.vc-avatar .vc-rank {
  position: absolute; top: -7px; left: -7px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--sans); font-weight: 800; font-size: 11px;
  color: var(--gold-light); background: var(--stone-900); border: 1px solid rgba(231,192,115,.5);
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.vc-head { flex: 1; min-width: 0; }
.vc-head .vc-toprow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.vcard .vc-cat { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.vcard h3 { font-family: var(--serif); font-size: 22px; color: var(--cream); line-height: 1.08; margin: 1px 0 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vc-verif { color: #6fc59a; font-size: 13px; }
.vcard .vc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: #cdbb9c; margin-top: 6px; }
.vcard .vc-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #6e5c3e; }
.vc-dist { color: var(--gold-light); font-weight: 800; background: rgba(231,192,115,.12); border: 1px solid rgba(231,192,115,.26); border-radius: 999px; padding: 2px 9px; }
.vcard .vc-bio { font-size: 13.5px; color: #d8c6a8; margin: 10px 0 2px; line-height: 1.55; }

/* rating pill (top-right) */
.ratepill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  background: rgba(0,0,0,.28); border: 1px solid rgba(231,192,115,.24); border-radius: 999px; padding: 4px 10px; }
.ratepill .rp-star { color: var(--gold); font-size: 13px; }
.ratepill .rp-val { color: var(--cream); font-weight: 800; font-size: 13.5px; }
.ratepill .rp-count { color: #a8946f; font-size: 11.5px; }
.ratepill.new { color: #b59a6a; font-size: 11.5px; font-weight: 700; padding: 5px 11px; }

/* ribbon for standout vendors */
.vc-ribbon { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: #4a330f; border-radius: 999px; padding: 3px 9px;
  background: linear-gradient(100deg,#ffe9bf,var(--gold) 60%,var(--gold-deep)); margin-top: 8px; }
.vc-ribbon.popular { color: var(--gold-light); background: rgba(231,192,115,.14); border: 1px solid rgba(231,192,115,.36); }

.stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.stars .num { color: #cdbb9c; font-size: 12px; margin-left: 5px; }

.svc-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.svc {
  display: flex; align-items: flex-start; gap: 12px; justify-content: space-between;
  padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.22);
  border: 1px solid rgba(231,192,115,.16);
}
.svc .s-main { min-width: 0; }
.svc .s-name { font-weight: 700; font-size: 14px; color: var(--cream); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.svc .s-name .s-dur { font-weight: 600; font-size: 11px; color: #8f7a52; background: rgba(231,192,115,.12); border-radius: 999px; padding: 1px 8px; }
.svc .s-desc { font-size: 12px; color: #bda988; margin-top: 2px; }
.svc .s-more { margin-top: 6px; }
.svc .s-more summary { font-size: 11.5px; font-weight: 700; color: var(--gold-light); cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.svc .s-more summary::-webkit-details-marker { display: none; }
.svc .s-more summary::before { content: '▸'; font-size: 9px; transition: transform .15s; }
.svc .s-more[open] summary::before { transform: rotate(90deg); }
.svc .s-incl { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.svc .s-incl li { font-size: 12px; color: #d2c0a0; padding-left: 16px; position: relative; line-height: 1.4; }
.svc .s-incl li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; font-size: 11px; }
.svc .s-details { font-size: 12px; color: #bda988; line-height: 1.55; margin: 8px 0 0; }
.svc .s-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; white-space: nowrap; }
.svc .s-price { font-weight: 800; color: var(--gold-light); font-size: 15px; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.svc .s-price .s-unit { font-weight: 600; font-size: 10px; color: #8f7a52; text-transform: lowercase; }
.svc .s-add {
  border: 0; cursor: pointer; border-radius: 999px; width: 34px; height: 34px; font-size: 20px; line-height: 1;
  color: #4a330f; background: linear-gradient(100deg,#ffe9bf,var(--gold) 60%,var(--gold-deep)); font-weight: 800;
}
.svc .s-add:hover { filter: brightness(1.06); }
.svc .s-add.in { background: #2e7d52; color: #eafff2; }

/* ---- card footer: "from" price + service count ---- */
.vc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding-top: 13px; border-top: 1px dashed rgba(231,192,115,.18); }
.vc-foot .vf-from { font-size: 12.5px; color: #bda988; }
.vc-foot .vf-from b { color: var(--gold-light); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.vc-foot .vf-view { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800;
  color: var(--gold-light); cursor: pointer; user-select: none; }
.vc-foot .vf-view .chev { transition: transform .22s ease; font-size: 10px; }
.vcard.open .vc-foot .vf-view .chev { transform: rotate(180deg); }
/* services collapse by default; expand when the card is opened or hovered on desktop */
.svc-list { margin-top: 14px; display: none; flex-direction: column; gap: 8px; }
.vcard.open .svc-list { display: flex; }

/* ---- map ---- */
.mkt-map-wrap { position: sticky; top: 80px; }
.map-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(231,192,115,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04);
}
#mktMap {
  height: min(76vh, 720px); background: var(--stone-800);
}
.map-frame::after { /* soft inner vignette so pins pop */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 401;
  box-shadow: inset 0 0 70px rgba(8,5,3,.45); border-radius: 22px;
}
.map-badge {
  position: absolute; top: 14px; left: 14px; z-index: 402;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20,13,8,.82); backdrop-filter: blur(6px);
  border: 1px solid rgba(231,192,115,.34); border-radius: 999px; padding: 8px 14px;
  color: var(--cream); font-size: 12.5px; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.map-badge .mb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(231,192,115,.22); animation: mbpulse 2s infinite; }
@keyframes mbpulse { 0%,100%{ box-shadow: 0 0 0 3px rgba(231,192,115,.28);} 50%{ box-shadow: 0 0 0 7px rgba(231,192,115,0);} }

/* custom gold teardrop pins (numbered, sync with the list) */
.pin {
  position: relative; width: 30px; height: 30px;
}
.pin .pin-body {
  position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: radial-gradient(120% 120% at 30% 25%, #fff4d8, var(--gold) 55%, var(--gold-deep));
  border: 1.5px solid #fff3d6;
  box-shadow: 0 5px 10px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pin .pin-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 800; font-size: 13px; color: #4a330f; z-index: 2;
}
.pin.hot .pin-body, .pin.sel .pin-body {
  background: radial-gradient(120% 120% at 30% 25%, #fff, #ffd873 55%, var(--gold));
  box-shadow: 0 8px 18px rgba(231,192,115,.55), 0 0 0 4px rgba(231,192,115,.25);
}
.pin.sel { z-index: 1000 !important; }
.pin.sel .pin-body { transform: rotate(-45deg) scale(1.35); }
.leaflet-marker-icon.pin-wrap { background: transparent; border: 0; }

/* client "your event" marker */
.evpin { width: 22px; height: 22px; border-radius: 50%; background: #f6a9c6;
  border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(246,169,198,.3), 0 4px 10px rgba(0,0,0,.4);
  animation: evpulse 2.2s infinite; }
@keyframes evpulse { 0%,100%{ box-shadow: 0 0 0 5px rgba(246,169,198,.32), 0 4px 10px rgba(0,0,0,.4);} 50%{ box-shadow: 0 0 0 13px rgba(246,169,198,0), 0 4px 10px rgba(0,0,0,.4);} }

.leaflet-popup-content-wrapper { background: var(--stone-850); color: var(--cream); border: 1px solid rgba(231,192,115,.34); border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,.55); }
.leaflet-popup-tip { background: var(--stone-850); border: 1px solid rgba(231,192,115,.34); }
.leaflet-popup-content { font-family: var(--sans); margin: 12px 14px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--gold); }
.map-pop b { font-family: var(--serif); font-size: 17px; color: var(--cream); }
.map-pop .mp-cat { color: var(--gold); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.map-pop .mp-rate { color: var(--gold-light); font-size: 12.5px; margin-top: 3px; }
.map-pop .mp-from { color: #cdbb9c; font-size: 12px; margin-top: 3px; }
.map-pop .mp-go { display: inline-block; margin-top: 9px; font-size: 12px; font-weight: 800;
  color: #4a330f; background: linear-gradient(100deg,#ffe9bf,var(--gold) 60%,var(--gold-deep));
  border-radius: 999px; padding: 6px 13px; cursor: pointer; }

/* ---- floating cart button + drawer ---- */
.cartfab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 800;
  color: #4a330f; background: linear-gradient(100deg,#ffe9bf,var(--gold) 55%,var(--gold-deep));
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
}
.cartfab .cf-count {
  background: #4a330f; color: var(--gold-light); border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px;
}
.cartfab .cf-total { font-variant-numeric: tabular-nums; }

.cart-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: .25s; z-index: 70; }
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cartdrawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); z-index: 80;
  background: linear-gradient(180deg, var(--stone-850), var(--stone-900));
  border-left: 1px solid rgba(231,192,115,.3); transform: translateX(100%); transition: .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cartdrawer.open { transform: translateX(0); }
.cartdrawer .cd-head { padding: 22px 22px 14px; border-bottom: 1px solid rgba(231,192,115,.2); display: flex; align-items: center; justify-content: space-between; }
.cartdrawer .cd-head h3 { font-family: var(--serif); font-size: 24px; color: var(--cream); }
.cartdrawer .cd-close { background: none; border: 0; color: var(--gold); font-size: 26px; cursor: pointer; line-height: 1; }
.cd-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cd-vendor { margin-bottom: 18px; }
.cd-vendor .cd-vname { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.cd-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(231,192,115,.16); }
.cd-item .ci-name { font-size: 13.5px; color: var(--cream); }
.cd-item .ci-right { display: flex; align-items: center; gap: 10px; }
.cd-item .ci-price { color: var(--gold-light); font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-item .ci-rm { background: none; border: 0; color: #d98a8a; cursor: pointer; font-size: 17px; }
.cd-empty { text-align: center; color: #bda988; padding: 40px 10px; font-size: 14px; }
.cd-foot { padding: 18px 22px; border-top: 1px solid rgba(231,192,115,.2); }
.cd-foot .cd-sum { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 13.5px; color: #cdbb9c; }
.cd-foot .cd-sum.total { font-size: 19px; color: var(--cream); font-weight: 800; margin: 8px 0 14px; }
.cd-foot .cd-sum.total span:last-child { color: var(--gold-light); }

/* ---- checkout / confirm overlay ---- */
.mkt-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; background: rgba(8,5,3,.7); backdrop-filter: blur(4px); }
.mkt-overlay.open { display: flex; }
.mkt-modal { width: min(560px, 96vw); padding: 28px; }
.mkt-modal h3 { font-family: var(--serif); font-size: 28px; color: var(--cream); margin-bottom: 4px; }
.mkt-modal .sub { color: #cdbb9c; font-size: 13.5px; margin-bottom: 18px; }
.mkt-modal .mclose { position: absolute; }
.confirm { text-align: center; }
.confirm .big { font-size: 46px; }
.confirm .ref { display: inline-block; margin-top: 12px; font-weight: 800; letter-spacing: .05em; color: var(--gold-light); background: rgba(231,192,115,.12); border: 1px solid rgba(231,192,115,.3); border-radius: 10px; padding: 8px 16px; }

.skel { height: 168px; border-radius: 20px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sh 1.3s infinite; }
@keyframes sh { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ---- mobile: list/map view toggle ---- */
@media (max-width: 940px) {
  .viewtoggle { display: inline-flex; }
  .mkt-map-wrap { position: relative; top: 0; }
  #mktMap { height: min(64vh, 540px); }
  /* the toggle drives which column is visible */
  .mkt-main.show-map .mkt-listcol .vlist { display: none; }
  .mkt-main.show-map .mkt-map-wrap { display: block; }
  .mkt-main.show-list .mkt-map-wrap { display: none; }
  .mkt-toolbar { position: sticky; top: 64px; z-index: 20; padding: 10px 0;
    background: linear-gradient(180deg, var(--mortar) 70%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .vcard.reveal { animation: none; }
  .map-badge .mb-dot, .evpin { animation: none; }
}
