/* Map marker popups (Leaflet) — domki listing + atrakcje */

/* —— Domki (/domki/) —— */
.domki-map-popup.leaflet-popup {
  margin-bottom: 28px;
}

.domki-map-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.domki-map-popup .leaflet-popup-content {
  margin: 0;
  line-height: 1.45;
  font-size: 14px;
}

.domki-map-popup .leaflet-popup-content p {
  margin: 0;
}

.domki-map-popup .leaflet-popup-tip {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.domki-popup-card {
  border-radius: 14px;
}

.domki-popup-body {
  padding: 14px 14px 16px;
}

.domki-popup-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin-top: 14px;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #469a78 0%, #3f8c6b 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: none;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.domki-popup-action i {
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.domki-popup-action:hover {
  background: linear-gradient(180deg, #3f8c6b 0%, #357a59 100%);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.domki-popup-action:hover i {
  transform: translateX(2px);
}

.domki-popup-action:focus-visible {
  outline: 2px solid rgba(63, 140, 107, 0.55);
  outline-offset: 2px;
}

/* —— Atrakcje —— */
.attraction-popup .leaflet-popup-content-wrapper {
  border-radius: 14px;
  overflow: hidden;
}

.attraction-popup__content {
  padding: 12px 14px 14px;
}

.attraction-popup__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin-top: 4px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--category-color, var(--color-primary-light, #3f8c6b));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transition: filter 0.2s ease, background 0.2s ease;
}

.attraction-popup__cta:hover {
  filter: brightness(0.94);
  transform: none;
  opacity: 1;
  color: #fff;
}

.attraction-popup__cta:focus-visible {
  outline: 2px solid rgba(63, 140, 107, 0.55);
  outline-offset: 2px;
}

/* Leaflet generic links inside our popups only */
.domki-map-popup .leaflet-popup-content a:not(.domki-popup-action),
.attraction-popup .leaflet-popup-content a:not(.attraction-popup__cta) {
  display: inline;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  font-weight: inherit;
}
