
/* 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(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 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: #1E293B;
  line-height: 1.25;
}

.kidsmap-map-chooser__subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64748B;
  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: #F1F5F9;
  color: #64748B;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  padding: 0;
}

.kidsmap-map-chooser__close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  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: #CBD5E1 transparent;
}

.kidsmap-map-chooser__list-wrap::-webkit-scrollbar {
  width: 5px;
}

.kidsmap-map-chooser__list-wrap::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  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 #E2E8F0;
  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: #F1F5F9;
  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: #1E293B;
  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: #F1F5F9;
  color: #334155;
}

.kidsmap-map-chooser__pill--price {
  background: #ECFDF5;
  color: #065F46;
  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: #94A3B8;
  background: #F8FAFC;
  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(15, 23, 42, 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: #CBD5E1;
    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;
  }
}
#home-map .gm-style-iw-c { max-width: calc(100% - 24px); }
#home-map .gm-style-iw-d { max-height: min(410px, 55vh) !important; overflow-y: auto !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;
}
