
/* Public Google Maps: only the inner visual moves, never Google's anchor. */
.kidsmap-marker-button {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.kidsmap-marker-visual {
  display: block;
  transform-origin: 50% 85%;
  filter: drop-shadow(0 2px 3px rgba(19, 65, 38, .22));
  transition: transform 180ms ease-out, filter 180ms ease-out;
  animation: kidsmap-marker-enter 190ms ease-out;
}
.kidsmap-marker-visual--stable { animation: none; }
.kidsmap-marker-button:hover .kidsmap-marker-visual,
.kidsmap-marker-button:focus-visible .kidsmap-marker-visual,
.kidsmap-marker-button.is-highlighted .kidsmap-marker-visual { transform: scale(1.07); }
.kidsmap-marker-button:focus-visible { outline: 3px solid var(--brand-spruce, #087443); outline-offset: 3px; border-radius: 50%; }
.kidsmap-marker-button:active .kidsmap-marker-visual { transform: scale(.96); }
.kidsmap-marker-button.is-selected .kidsmap-marker-visual {
  transform: scale(1.14);
  filter: drop-shadow(0 0 2px white) drop-shadow(0 0 4px var(--brand-spruce, #087443)) drop-shadow(0 4px 4px rgba(19, 65, 38, .3));
}
@keyframes kidsmap-marker-enter {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
.kidsmap-map-chooser {
  position: absolute;
  z-index: 2000001;
  top: 16px;
  left: 16px;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text, #13251B);
  border: 1px solid rgba(220, 231, 220, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 48px -6px rgba(31, 41, 51, 0.18), 0 0 0 1px rgba(31, 41, 51, 0.04);
  overflow: hidden;
  font-family: var(--font-primary, "Manrope", sans-serif);
  animation: kidsmap-chooser-fade-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes kidsmap-chooser-fade-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes kidsmap-chooser-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.kidsmap-map-chooser__handle {
  display: none;
}

.kidsmap-map-chooser__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  flex-shrink: 0;
}

.kidsmap-map-chooser__header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.kidsmap-map-chooser__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-turf, #136F38);
  background: #EDF6EA;
  padding: 3px 8px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 4px;
}

.kidsmap-map-chooser__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #1E2B23;
  line-height: 1.25;
}

.kidsmap-map-chooser__subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64776A;
  line-height: 1.35;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kidsmap-map-chooser__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F0F5F2;
  color: #64776A;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  padding: 0;
}

.kidsmap-map-chooser__close-btn:hover {
  background: #E0E9E3;
  color: #1F2933;
  transform: scale(1.05);
}

.kidsmap-map-chooser__close-btn:focus-visible {
  outline: 2px solid var(--brand-spruce, #087443);
  outline-offset: 2px;
}

.kidsmap-map-chooser__list-wrap {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #CAD7CE transparent;
}

.kidsmap-map-chooser__list-wrap::-webkit-scrollbar {
  width: 5px;
}

.kidsmap-map-chooser__list-wrap::-webkit-scrollbar-thumb {
  background: #CAD7CE;
  border-radius: 4px;
}

.kidsmap-map-chooser__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kidsmap-map-chooser__item {
  margin: 0;
  padding: 0;
}

.kidsmap-map-chooser__card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #E0E9E3;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  position: relative;
}

.kidsmap-map-chooser__card:hover {
  border-color: var(--brand-turf, #136F38);
  background: #F8FAF8;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(19, 65, 38, 0.08);
}

.kidsmap-map-chooser__card:focus-visible {
  outline: 2px solid var(--brand-spruce, #087443);
  outline-offset: 2px;
}

.kidsmap-map-chooser__card:active {
  transform: scale(0.99);
}

.kidsmap-map-chooser__thumb-box {
  width: 68px;
  min-width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: #F0F5F2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.kidsmap-map-chooser__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kidsmap-map-chooser__card:hover .kidsmap-map-chooser__thumb {
  transform: scale(1.06);
}

.kidsmap-map-chooser__thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.kidsmap-map-chooser__thumb-icon svg {
  width: 28px;
  height: 28px;
}

.kidsmap-map-chooser__thumb-pin {
  width: 26px;
  height: 34px;
}

.kidsmap-map-chooser__card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.kidsmap-map-chooser__category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 6px;
  width: fit-content;
  display: inline-block;
  line-height: 1.3;
}

.kidsmap-map-chooser__card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1E2B23;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kidsmap-map-chooser__card:hover .kidsmap-map-chooser__card-title {
  color: var(--brand-turf, #136F38);
}

.kidsmap-map-chooser__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.kidsmap-map-chooser__pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}

.kidsmap-map-chooser__pill--age {
  background: #F0F5F2;
  color: #334439;
}

.kidsmap-map-chooser__pill--price {
  background: #F3F9F2;
  color: #0D4924;
  font-weight: 700;
}

.kidsmap-map-chooser__pill--rating {
  background: #FFFBEB;
  color: #B45309;
  font-weight: 700;
}

.kidsmap-map-chooser__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #91A798;
  background: #F8FAF9;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-left: auto;
}

.kidsmap-map-chooser__card:hover .kidsmap-map-chooser__arrow {
  background: var(--brand-turf, #136F38);
  color: #FFFFFF;
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .kidsmap-map-chooser {
    top: auto;
    bottom: 12px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(480px, 75vh);
    border-radius: 22px;
    box-shadow: 0 -8px 32px rgba(31, 41, 51, 0.2);
    animation: kidsmap-chooser-slide-up 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .kidsmap-map-chooser__handle {
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 9999px;
    background: #CAD7CE;
    margin: 8px auto 0;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kidsmap-map-chooser {
    animation: none !important;
  }
  .kidsmap-map-chooser__card,
  .kidsmap-map-chooser__thumb,
  .kidsmap-map-chooser__arrow {
    transition: none !important;
    transform: none !important;
  }
}
/* Entrance animation for Google Maps InfoWindow & Leaflet popups */
@keyframes km-popup-spring-in {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  65% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 36px -4px rgba(13, 73, 36, 0.18), 0 4px 12px -2px rgba(31, 41, 51, 0.08) !important;
  border: 1px solid rgba(19, 111, 56, 0.08) !important;
  overflow: hidden !important;
  animation: km-popup-spring-in var(--dur-base, 260ms) var(--ease-spring, cubic-bezier(.34, 1.56, .64, 1)) both !important;
  transform-origin: bottom center !important;
}

#home-map .gm-style-iw-c {
  max-width: min(320px, calc(100% - 24px)) !important;
}

/* Single scroll container on .gm-style-iw-d with custom brand scrollbar (no double scroll) */
#home-map .gm-style-iw-d {
  box-sizing: border-box !important;
  max-height: min(520px, calc(100vh - 120px), 75vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-celadon, #a8d59b) transparent;
}

#home-map .gm-style-iw-d::-webkit-scrollbar,
.catalog-map-venue::-webkit-scrollbar {
  width: 5px;
}

#home-map .gm-style-iw-d::-webkit-scrollbar-track,
.catalog-map-venue::-webkit-scrollbar-track {
  background: transparent;
}

#home-map .gm-style-iw-d::-webkit-scrollbar-thumb,
.catalog-map-venue::-webkit-scrollbar-thumb {
  background: var(--brand-celadon, #a8d59b);
  border-radius: 999px;
}

#home-map .gm-style-iw-d::-webkit-scrollbar-thumb:hover,
.catalog-map-venue::-webkit-scrollbar-thumb:hover {
  background: var(--brand-turf, #136f38);
}

.home-map-popup-members {
  max-height: none !important;
  overflow: visible !important;
}
@media (max-width: 767px) {
  [data-catalog-map] .catalog-map-mobile-sheet { max-height: min(70%, calc(100% - 120px), 360px); overflow-y: auto; bottom: 28px; }

}
@media (prefers-reduced-motion: reduce) {
  .kidsmap-marker-visual,
  .kidsmap-marker-button:hover .kidsmap-marker-visual,
  .kidsmap-marker-button:focus-visible .kidsmap-marker-visual,
  .kidsmap-marker-button:active .kidsmap-marker-visual { animation: none; transition: none; transform: none; }
  .catalog-map-mobile-sheet { transition: none !important; }
}
/* A Google canvas has an intrinsic width; do not let it enlarge the grid track. */
[data-catalog-map-panel] { min-width: 0; grid-template-columns: minmax(0, 1fr); }
[data-catalog-map-panel] > *,
[data-catalog-map-panel] .catalog-map-copy { min-width: 0; }
[data-catalog-map] { min-width: 0; max-width: 100%; }
@media (max-width: 767px) {
  [data-catalog-map] .catalog-map-card-main { grid-template-columns: 72px minmax(0, 1fr); }
  [data-catalog-map] .catalog-map-card-media,
  [data-catalog-map] .catalog-map-card-image { width: 72px; }
  [data-catalog-map] .catalog-map-card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-catalog-map] .catalog-map-card-actions > :last-child:nth-child(3) { grid-column: 1 / -1; }
}
.page-place_list .catalog-layout .catalog-main-column { grid-template-columns: minmax(0, 1fr); }
.kidsmap-map-empty-status {
  position: absolute; z-index: 6; left: 12px; right: 58px; bottom: 28px;
  padding: 12px; border-radius: 12px; background: white;
  color: var(--text, #203c2d); box-shadow: 0 3px 12px rgba(19,65,38,.14);
  pointer-events: none;
}

/* ==========================================================================
   KidsMap pins & clusters (DOM visuals from js/kidsmap_map_pins.js)
   Motion values follow css/motion.css tokens; reduced motion is covered by
   the global guard in motion.css and the block at the end of this section.
   ========================================================================== */
.kidsmap-marker-visual--dom { filter: none; transform-origin: 50% 100%; animation: km-pin-drop var(--dur-slow, 420ms) var(--ease-spring, cubic-bezier(.34, 1.56, .64, 1)) both; }
.kidsmap-marker-visual--dom.kidsmap-marker-visual--stable { animation: none; }
.kidsmap-marker-visual--cluster { transform-origin: 50% 50%; animation-name: km-cluster-pop; }

/* Hover / focus / highlight / press / select — the pin lifts, the cluster grows. */
/* The lifted pin and its name label must sit above neighbouring pins (the
   overlay writes a y-based inline z-index, so this needs !important). */
.kidsmap-marker-button:has(.km-pin):hover,
.kidsmap-marker-button:has(.km-pin):focus-visible,
.kidsmap-marker-button.is-highlighted { z-index: 1999999 !important; }
.kidsmap-marker-button:hover .kidsmap-marker-visual--dom,
.kidsmap-marker-button:focus-visible .kidsmap-marker-visual--dom,
.kidsmap-marker-button.is-highlighted .kidsmap-marker-visual--dom { transform: translateY(-4px) scale(1.08); }
.kidsmap-marker-button:active .kidsmap-marker-visual--dom { transform: translateY(-1px) scale(.96); }
.kidsmap-marker-button.is-selected .kidsmap-marker-visual--dom { transform: translateY(-6px) scale(1.2); filter: none; }
.kidsmap-marker-button:hover .kidsmap-marker-visual--cluster,
.kidsmap-marker-button:focus-visible .kidsmap-marker-visual--cluster { transform: scale(1.07); }
.kidsmap-marker-button:active .kidsmap-marker-visual--cluster { transform: scale(.94); }
.kidsmap-marker-button:has(.km-cluster):focus-visible,
.kidsmap-marker-button:has(.km-pin):focus-visible { outline: none; }
.kidsmap-marker-button:focus-visible .km-pin__drop,
.kidsmap-marker-button:focus-visible .km-cluster__core { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--brand-turf, #136f38); }

/* ── Place pin ─────────────────────────────────────────────────────────── */
.km-pin {
  position: relative;
  display: block;
  width: 40px;
  height: 50px;
  pointer-events: none;
}
.km-pin::after { /* ground shadow */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 16px;
  height: 5px;
  border-radius: 50%;
  background: rgba(13, 73, 36, .22);
  transform: translateX(-50%);
  transition: transform var(--dur-fast, 160ms) var(--ease-out-quint, ease-out), opacity var(--dur-fast, 160ms);
}
.kidsmap-marker-button:hover .km-pin::after,
.kidsmap-marker-button.is-highlighted .km-pin::after,
.kidsmap-marker-button.is-selected .km-pin::after { transform: translateX(-50%) scale(.7); opacity: .6; }
.km-pin__drop {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 32px;
  height: 32px;
  border: 2.5px solid #fff;
  border-radius: 50% 50% 50% 4px;
  background: var(--pin-ink, #136f38);
  transform: rotate(-45deg);
  box-shadow: 0 6px 12px -4px color-mix(in srgb, var(--pin-ink, #136f38) 60%, transparent);
  transition: box-shadow var(--dur-fast, 160ms) var(--ease-out-quint, ease-out), filter var(--dur-base, 260ms);
}
.km-pin__medal {
  position: absolute;
  inset: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  transform: rotate(45deg);
}
.km-pin__glyph { display: block; width: 15px; height: 15px; }
.km-pin__badge {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand-spruce, #0d4924);
  color: #fff;
  font: 800 10px/14px var(--font-display, system-ui, sans-serif);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.km-pin__label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  max-width: 168px;
  padding: 4px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(13, 73, 36, .18);
  color: var(--ink, #1f2933);
  font: 700 12px/1.25 var(--font-display, system-ui, sans-serif);
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translate(-50%, -4px) scale(.92);
  transform-origin: 50% 0;
  transition: opacity var(--dur-fast, 160ms) var(--ease-out-quint, ease-out), transform var(--dur-fast, 160ms) var(--ease-out-quint, ease-out);
}
.kidsmap-marker-button.is-selected .km-pin__label,
.kidsmap-marker-button.is-highlighted .km-pin__label { opacity: 1; transform: translate(-50%, 0) scale(.84); }
@media (hover: hover) {
  .kidsmap-marker-button:hover .km-pin__label { opacity: 1; transform: translate(-50%, 0) scale(.84); }
}
.kidsmap-marker-button.is-selected .km-pin__drop {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pin-ink, #136f38) 22%, transparent), 0 10px 18px -6px color-mix(in srgb, var(--pin-ink, #136f38) 70%, transparent);
}

/* Already opened in this session: calmer colour and a small check. */
.km-pin.is-visited .km-pin__drop { filter: saturate(.45) brightness(1.08); }
.km-pin__visited { display: none; }
.km-pin.is-visited .km-pin__visited {
  position: absolute;
  top: -3px;
  left: -2px;
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-turf, #136f38) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.kidsmap-marker-button.is-selected .km-pin.is-visited .km-pin__drop { filter: none; }

/* ── Cluster ───────────────────────────────────────────────────────────── */
.km-cluster {
  position: relative;
  display: block;
  width: var(--cluster-size, 54px);
  height: var(--cluster-size, 54px);
  pointer-events: none;
}
.km-cluster::before { /* soft halo */
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(168, 213, 155, .38);
  transform: scale(.86);
  transition: transform var(--dur-base, 260ms) var(--ease-spring, ease-out), background var(--dur-base, 260ms);
}
.kidsmap-marker-button:hover .km-cluster::before,
.kidsmap-marker-button:focus-visible .km-cluster::before { transform: scale(1.04); background: rgba(168, 213, 155, .5); }
.km-cluster__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cluster-ring, #136f38);
}
.km-cluster__core {
  position: absolute;
  inset: 4px;
  display: grid;
  place-items: center;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--brand-turf, #136f38);
  box-shadow: 0 6px 14px -4px rgba(13, 73, 36, .45);
  color: #fff;
}
.km-cluster__count {
  font: 800 15px/1 var(--font-display, system-ui, sans-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.km-cluster--s .km-cluster__count { font-size: 13px; }
.km-cluster--s .km-cluster__core { inset: 3.5px; border-width: 2px; }
.km-cluster--l .km-cluster__core { inset: 5px; background: var(--brand-spruce, #0d4924); }
.km-cluster--l .km-cluster__count { font-size: 17px; }

@keyframes km-pin-drop {
  0% { opacity: 0; transform: translateY(-14px) scale(.9); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes km-cluster-pop {
  0% { opacity: 0; transform: scale(.6); }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .kidsmap-marker-visual--dom,
  .kidsmap-marker-button:hover .kidsmap-marker-visual--dom,
  .kidsmap-marker-button.is-highlighted .kidsmap-marker-visual--dom,
  .kidsmap-marker-button.is-selected .kidsmap-marker-visual--dom,
  .kidsmap-marker-button:hover .kidsmap-marker-visual--cluster { animation: none; transform: none; }
  .km-pin__label, .km-cluster::before, .km-pin::after { transition: none; }
  .gm-style .gm-style-iw-c,
  .leaflet-popup-content-wrapper { animation: none !important; transform: none !important; }
}

/* Google InfoWindow close button with contrast, brand token styling, and interactive hover */
.gm-style .gm-style-iw-chr {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 25 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gm-style .gm-style-iw-chr button.gm-ui-hover-effect,
.gm-style .gm-style-iw-c > button.gm-ui-hover-effect {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 8px rgba(13, 73, 36, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transition: transform var(--dur-fast, 160ms) var(--ease-spring, ease), background-color var(--dur-fast, 160ms) ease, box-shadow var(--dur-fast, 160ms) ease !important;
}

.gm-style .gm-style-iw-chr button.gm-ui-hover-effect:hover,
.gm-style .gm-style-iw-c > button.gm-ui-hover-effect:hover {
  background: #ffffff !important;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(13, 73, 36, 0.28), 0 0 0 1px rgba(19, 111, 56, 0.2) !important;
}

.gm-style .gm-style-iw-chr button.gm-ui-hover-effect:active,
.gm-style .gm-style-iw-c > button.gm-ui-hover-effect:active {
  transform: scale(0.92) !important;
}

.gm-style .gm-style-iw-chr button.gm-ui-hover-effect > span,
.gm-style .gm-style-iw-c > button.gm-ui-hover-effect > span {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  background-color: var(--brand-spruce, #0d4924) !important;
}

/* Phone: the open place card already says what is selected; the assistant
   toast only covered the selected pin and its label. */
@media (max-width: 767px) {
  .home-map-assistant { transition: opacity var(--dur-fast, 160ms) var(--ease-out-quint, ease-out), transform var(--dur-fast, 160ms) var(--ease-out-quint, ease-out); }
  .home-map-assistant.has-selection { opacity: 0; transform: translateY(8px); pointer-events: none; }
}
