.gdmc-locations-explorer {
  --gdmc-primary: var(--color-primary);
  --gdmc-accent: var(--theme, var(--color-dmc));
  --gdmc-marker: var(--theme-dark, var(--color-dmc-dark));
  --gdmc-soft: var(--theme-bitdark, var(--color-dmc-40));
  --gdmc-line: var(--color-border);
  --gdmc-text: var(--color-text);
  --gdmc-muted: var(--color-secondary);
  --gdmc-card: var(--theme-light, var(--color-dmc-15));
  color: var(--gdmc-text);
  font-family: var(--e-global-typography-secondary-font-family);
  width: 100%;
}

.gdmc-locations-toolbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 24px;
}

.gdmc-locations-toolbar__main,
.gdmc-locations-toolbar__actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

.gdmc-locations-toolbar__main {
  flex: 1 1 auto;
  min-width: 0;
}

.gdmc-locations-toolbar__actions {
  flex: 0 0 auto;
}

.gdmc-locations-toolbar--sticky {
  background: var(--color-white);
  border-bottom: 1px solid rgba(12, 7, 2, 0.08);
  border-top: 1px solid rgba(12, 7, 2, 0.08);
  margin-left: -1px;
  margin-right: -1px;
  padding: 12px 0;
  position: sticky;
  top: 89px;
  z-index: 1;
}

.gdmc-locations-view-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--gdmc-primary);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.gdmc-locations-view-toggle:hover,
.gdmc-locations-view-toggle:focus {
  background: transparent;
  color: var(--gdmc-primary);
}

.gdmc-locations-view-toggle__icon {
  display: inline-flex;
  height: 20px;
  width: 20px;
}

.gdmc-locations-view-toggle__icon svg {
  display: block;
  height: 20px;
  width: 20px;
}

.gdmc-locations-view-toggle__icon--map {
  display: none;
}

.gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-view-toggle__icon--grid {
  display: none;
}

.gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-view-toggle__icon--map {
  display: inline-flex;
}

.gdmc-locations-view-toggle:focus-visible {
  outline: 3px solid rgba(239, 125, 0, 0.28);
  outline-offset: 2px;
}

.gdmc-locations-count {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.gdmc-locations-empty-cta[hidden] {
  display: none;
}

.gdmc-locations-empty-cta a {
  align-items: center;
  background: var(--gdmc-accent);
  border: 1px solid var(--gdmc-accent);
  border-radius: 999px;
  color: var(--color-white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 0.83rem 2rem;
  text-decoration: none;
  white-space: nowrap;
}

.gdmc-locations-search {
  border: 1px solid var(--color-border);
  flex: 0 1 520px;
  font: inherit;
  min-height: 42px;
  padding: 0.83rem 2rem !important;
}

.gdmc-locations-search:focus {
  box-shadow: none;
  outline: none;
}

.gdmc-locations-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
}

.gdmc-locations-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gdmc-locations-explorer--grid .gdmc-locations-layout,
.gdmc-locations-explorer--stacked .gdmc-locations-layout {
  grid-template-columns: 1fr;
}

.gdmc-locations-explorer--grid .gdmc-locations-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gdmc-locations-explorer--stacked .gdmc-locations-map-wrap {
  order: -1;
  position: relative;
  top: auto;
}

.gdmc-locations-explorer--stacked .gdmc-locations-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-layout {
  grid-template-columns: 1fr;
}

.gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-map-wrap {
  display: none;
}

.gdmc-location-card {
  background: var(--gdmc-card);
  border: 1px solid var(--gdmc-line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(21, 32, 22, 0.08);
  overflow: hidden;
}

.gdmc-location-card[hidden] {
  display: none;
}

.gdmc-locations-pagination {
  grid-column: 1 / -1;
  min-height: 1px;
  text-align: center;
}

.gdmc-locations-pagination[hidden],
.gdmc-locations-loader[hidden] {
  display: none;
}

.gdmc-locations-loader {
  color: var(--gdmc-muted);
  display: inline-block;
  padding: 12px;
}

.gdmc-location-card__media {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  position: relative;
  text-align: inherit;
  width: 100%;
}

.gdmc-location-card__image {
  aspect-ratio: 16 / 10;
  border-radius: 15px;
  display: block;
  height: auto;
  object-fit: cover;
  padding: 2px;
  width: 100%;
}

.gdmc-location-card__image-label {
  background: color-mix(in srgb, var(--theme, var(--color-dmc)) 86%, transparent);
  border-radius: 25px;
  bottom: 14px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 12px;
  position: absolute;
  right: 14px;
}

.gdmc-location-card__body {
  padding: 22px 20px 20px;
}

.gdmc-location-card__title {
  font-size: 20px;
  margin: 0 0 20px;
  font-weight: 600;
}

.gdmc-location-card__title a {
  color: var(--gdmc-primary) !important;
  cursor: pointer;
}

.gdmc-location-card__focus:focus-visible {
  outline: 3px solid rgba(49, 91, 61, 0.35);
  outline-offset: 3px;
}

.gdmc-location-card__excerpt {
  display: -webkit-box;
  margin: 20px 0 !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gdmc-location-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.gdmc-location-card__meta-item {
  align-items: center;
  background: var(--color-gray-bg);
  border-radius: 999px;
  color: var(--gdmc-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 3px;
  padding: 4px 12px;
}

.gdmc-location-card__meta-item::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 14px;
  width: 14px;
}

.gdmc-location-card__meta-item--duration::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gdmc-location-card__meta-item--price::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 8.5h-3a3.5 3.5 0 0 0 0 7h3M10 12h4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 8.5h-3a3.5 3.5 0 0 0 0 7h3M10 12h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gdmc-location-card__button {
  align-items: center;
  background: var(--theme, var(--color-dmc));
  border-radius: 999px;
  color: var(--white);
  display: flex;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  font-weight: 500;
}

.gdmc-location-card__button::after {
  content: "\2192";
  font-size: 23px;
  line-height: 1;
  margin-left: 10px;
}

.gdmc-location-card__button:hover,
.gdmc-location-card__button:focus {
  background: var(--theme-dark, var(--color-dmc-dark));
  color: var(--color-white);
}

.gdmc-locations-map-wrap {
  border-radius: 18px 18px 0 0;
  min-height: calc(100vh - 198px);
  overflow: hidden;
  position: sticky;
  top: 198px;
}

.gdmc-locations-map {
  background: var(--color-gray-bg);
  min-height: calc(100vh - 198px);
  width: 100%;
}

.gdmc-map-message {
  align-items: center;
  background: var(--color-gray-bg);
  color: var(--gdmc-muted);
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: inherit;
  padding: 24px;
  text-align: center;
}

.gdmc-map-popup {
  color: var(--gdmc-primary);
  display: flex;
  gap: 10px;
  max-width: 220px;
  text-decoration: none;
}

.gdmc-map-popup:focus-visible {
  outline: none !important;
}

.gdmc-map-popup__image {
  border-radius: 6px;
  flex: 0 0 50px;
  height: 50px;
  overflow: hidden;
  width: 50px;
}

.gdmc-map-popup__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-radius: 5px !important;
}

.mapboxgl-popup-content {
  border-radius: 0.5rem !important;
  font-family: var(--e-global-typography-secondary-font-family);
}

.gdmc-map-popup__content {
  display: block;
  min-width: 0;
}

.gdmc-map-popup__title {
  color: var(--gdmc-primary);
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.gdmc-map-popup__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.gdmc-map-popup__badge {
  background: var(--color-canvas-bg);
  border-radius: 999px;
  color: var(--gdmc-muted);
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 6px;
  text-transform: capitalize;
}

.mapboxgl-popup-close-button {
  background-color: var(--color-gray-bg) !important;
  border-radius: initial !important;
  right: 0;
  top: 0;
  color: var(--color-black) !important;
  width: 20px;
  height: 20px;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gdmc-map-search-marker {
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 2px solid var(--gdmc-search-marker, var(--gdmc-marker)) !important;
  border-radius: 999px !important;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gdmc-search-marker, var(--gdmc-marker)) 16%, transparent) !important;
  box-sizing: border-box;
  color: transparent !important;
  cursor: pointer;
  display: flex;
  font-size: 0;
  height: 24px !important;
  justify-content: center;
  line-height: 1;
  margin: 0 !important;
  max-height: 24px;
  max-width: 24px;
  min-height: 24px;
  min-width: 24px;
  overflow: visible;
  padding: 0 !important;
  pointer-events: auto;
  width: 24px !important;
  z-index: 1;
}

.gdmc-map-search-marker:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gdmc-search-marker, var(--gdmc-marker)) 34%, transparent);
  outline-offset: 4px;
}

.gdmc-map-search-marker span {
  background: transparent;
  border: 3px solid var(--gdmc-search-marker, var(--gdmc-marker));
  border-radius: 999px;
  box-sizing: border-box;
  display: block;
  flex: 0 0 10px;
  height: 10px;
  pointer-events: none;
  width: 10px;
}

.gdmc-map-active-marker {
  align-items: center;
  background: var(--gdmc-active-accent, var(--gdmc-accent));
  border: 4px solid rgba(255, 209, 103, 0.72);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(70, 34, 18, 0.3);
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.gdmc-map-active-marker span {
  align-items: center;
  background: var(--color-white);
  border: 3px solid var(--gdmc-active-marker, var(--gdmc-marker));
  border-radius: 999px;
  color: var(--gdmc-primary);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  letter-spacing: 0;
  width: 28px;
  z-index: 2;
}

.gdmc-locations-empty {
  grid-column: 1 / -1;
  margin: 0;
  background-color: var(--color-canvas-bg);
  padding: 10px;
  border-radius: 0.5rem;
}

.gdmc-locations-empty[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .gdmc-locations-toolbar__main {
    width: 100%;
  }

  .gdmc-locations-layout {
    grid-template-columns: 1fr;
  }

  .gdmc-locations-explorer--grid .gdmc-locations-cards,
  .gdmc-locations-explorer--stacked .gdmc-locations-cards,
  .gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gdmc-locations-map-wrap {
    min-height: 520px;
    order: -1;
    position: relative;
    top: auto;
  }

  .gdmc-locations-map {
    min-height: 520px;
  }
}

@media (max-width: 767px) {
  .gdmc-locations-cards {
    grid-template-columns: 1fr;
  }

  .gdmc-locations-count {
    grid-column: auto;
    grid-row: auto;
  }

  .gdmc-locations-explorer--grid .gdmc-locations-cards,
  .gdmc-locations-explorer--stacked .gdmc-locations-cards,
  .gdmc-locations-explorer--switchable.is-full-list-view .gdmc-locations-cards {
    grid-template-columns: 1fr;
  }

  .gdmc-locations-map-wrap,
  .gdmc-locations-map {
    min-height: 420px;
    border-radius: 1.5rem;
  }
}