.maramar-guide-map-shell {
  --mm-green: #607456;
  --mm-green-dark: #45553e;
  --mm-black: #171917;
  --mm-text: #272a26;
  --mm-muted: #747970;
  --mm-border: rgba(23, 25, 23, .16);
  width: 100%;
}

.maramar-guide-map-frame {
  position: relative;
  width: 100%;
}

.maramar-guide-map {
  width: 100%;
  height: 560px;
  background: #e9ebe5;
  overflow: hidden;
}

.maramar-guide-map .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 3px 18px rgba(0,0,0,.12);
}

.maramar-guide-map .leaflet-control-zoom a {
  color: var(--mm-black);
  border: 0;
}

.maramar-guide-map .leaflet-control-attribution {
  background: rgba(255,255,255,.82);
  font-size: 10px;
}



.mm-pin {
  position: relative;
  display: grid;
  place-items: center;
}

.mm-pin__dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--mm-black);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
  transform: rotate(-45deg);
}

.mm-pin--featured .mm-pin__dot {
  width: 32px;
  height: 32px;
  background: var(--mm-green);
  border-width: 3px;
  box-shadow: 0 5px 18px rgba(0,0,0,.32);
}

.mm-pin--featured::after {
  content: "MarAMar";
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(255,255,255,.96);
  color: var(--mm-text);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}

.maramar-guide-map .leaflet-popup-content-wrapper {
  border-radius: 4px;
  box-shadow: 0 10px 32px rgba(0,0,0,.17);
}

.maramar-guide-map .leaflet-popup-tip {
  box-shadow: 3px 3px 9px rgba(0,0,0,.08);
}

.maramar-guide-map .leaflet-popup-content {
  width: min(255px, 72vw) !important;
  margin: 17px 18px 16px;
  color: var(--mm-text);
}

.mm-popup__category {
  margin-bottom: 5px;
  color: var(--mm-green-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mm-popup__title {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.mm-popup__copy {
  margin: 0 0 12px;
  color: var(--mm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.mm-popup__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--mm-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: 1px solid var(--mm-text);
}

.mm-popup__link:hover {
  color: var(--mm-green-dark);
  border-color: var(--mm-green-dark);
}

.maramar-guide-map-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 12px 0;
}

.maramar-guide-map-filters button {
  appearance: none;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--mm-border);
  border-radius: 999px;
  background: #fff;
  color: var(--mm-text);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.maramar-guide-map-filters button:hover,
.maramar-guide-map-filters button:focus-visible {
  border-color: var(--mm-black);
}

.maramar-guide-map-filters button:active {
  transform: translateY(1px);
}

.maramar-guide-map-filters button.is-active {
  background: var(--mm-black);
  border-color: var(--mm-black);
  color: #fff;
}

@media (max-width: 690px) {
  .maramar-guide-map {
    height: 470px;
  }

  .maramar-guide-map-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 14px 0 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .maramar-guide-map-filters::-webkit-scrollbar {
    display: none;
  }

  .maramar-guide-map-filters button {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 15px;
  }
}


/* v1.1.3 — centered, wrapping filters on smaller screens */
@media (max-width: 662px) {
  .maramar-guide-map-filters {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    margin: 0 auto 30px;
    padding: 14px 10px 0;
  }

  .maramar-guide-map-filters button {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 44px;
    padding: 10px 14px;
    white-space: nowrap;
  }
}
