/* Osttirol Kartenansicht — self-contained Tokens (LL-028). */
:root {
  --map-marker: #b51621;
  --map-h: 560px;
  --map-radius: 12px;
}
.osttirol-view-toggle {
  display: inline-flex;
  gap: 0;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.osttirol-view-toggle button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #444;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.osttirol-view-toggle button[aria-pressed='true'] {
  background: var(--map-marker);
  color: #fff;
}
.osttirol-map-wrap {
  width: 100%;
  height: var(--map-h);
  border-radius: var(--map-radius);
  overflow: hidden;
  position: relative;
}
.osttirol-map-pin {
  min-width: 44px;
  min-height: 32px;
  padding: 2px 8px;
  border: 0;
  cursor: pointer;
  background: var(--map-marker);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.osttirol-map-pin__price {
  white-space: nowrap;
}
/* Gemeinsame Karten-Bubble aller Module (Markup: OsttirolMapView.popupMarkup).
   Basis-Layout hier, damit die Bubble auch ohne das Live-Design-Set (ob-live.css)
   lesbar bleibt; die Marken-Feinheiten kommen dort in §32 dazu. */
.ob-mappopup {
  width: 220px;
  max-width: 100%;
}
.ob-mappopup__img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
  margin: 0;
}
.ob-mappopup__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ob-mappopup__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--map-marker);
}
.ob-mappopup__meta {
  font-size: 13px;
  color: #6b6b6b;
}
.ob-mappopup__price {
  font-weight: 700;
}
.ob-mappopup__link {
  /* 44px Touch-Target ueber das Padding, ohne die Bubble aufzublasen. */
  display: inline-block;
  padding: 12px 0 0;
  color: var(--map-marker);
  font-weight: 700;
}
.osttirol-map-cluster {
  min-width: 40px;
  min-height: 40px;
  border: 2px solid #fff;
  cursor: pointer;
  background: var(--map-marker);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
@media (max-width: 640px) {
  :root {
    --map-h: 70vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .osttirol-map-pin,
  .osttirol-map-cluster {
    transition: none !important;
  }
}
