/* Map & Location Section */

.ed_store-map-wrapper {
  padding-top: var(--wp--preset--spacing--40);
}

.ed_location-address-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ed_location-address {
  margin-bottom: 0;
}

.ed_store-map-wrapper .material-symbols {
  font-size: 24px;
  margin-right: 0.3rem;
}

/* Maps */

.acf-map {
  width: 100%;
  height: 60svh;
  min-height: 300px;
  border: none;
  border-radius: 0;
  /*border: solid 1px var(--wp--preset--color--base);*/
}

/* Fixing potential theme css conflict */
.acf-map img {
  max-width: inherit !important;
}

.ed_store-map-wrapper .gm-style {
  font-family: "Roboto";
}

.ed_store-map-wrapper .gm-style-iw {
  max-width: 800px;
  max-height: 310px;
  min-width: 0px;
  font-size: var(--wp--preset--font-size--body-2);
  letter-spacing: var(--letter-spacing-body-2);
  line-height: var(--line-height-body-2);
  background-color: var(--wp--preset--color--base-2);
  border-radius: var(--wp--preset--spacing--radius-2);
  -webkit-box-shadow: var(--shadow-elevation-medium);
  box-shadow: var(--shadow-elevation-medium);
  padding-right: 4px;
}

.ed_store-map-wrapper .gm-style .gm-style-iw-tc::after {
  background: var(--wp--preset--color--base-2);
}

.ed_store-map-wrapper .gm-style .gm-style-iw-c {
  max-width: calc(100vw - var(--wp--preset--spacing--gap) * 4) !important;
  padding-top: var(--wp--preset--spacing--10) !important;
  padding-bottom: var(--wp--preset--spacing--10) !important;
  padding-left: var(--wp--preset--spacing--10) !important;
  padding-right: calc(var(--wp--preset--spacing--20) + 0.2rem) !important;
}

.ed_store-map-wrapper .gm-ui-hover-effect {
  top: 0 !important;
  right: 8px !important;
  outline: none;
}

.ed_store-map-wrapper .gm-ui-hover-effect > span

/* Marker close button */ {
  width: 24px !important;
  height: 24px !important;
  background-color: var(--wp--preset--color--contrast);
}

.gm-style-iw-d {
  overflow: unset !important;
}

.gm-style-iw-d > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: var(--wp--preset--spacing--10);
}

.gm-style-iw-a img {
  width: 100px;
  height: 100px;
  border-radius: 4px;
}

.marker-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 400;
}

.marker-content h3 {
  font-size: var(--wp--preset--font-size--h-4);
  margin-top: 0;
  margin-bottom: 1rem;
  margin-right: var(--wp--preset--spacing--10);
}

.marker-content p {
  display: none;
}

.marker-content .ed_min-price {
  margin-top: 0.2rem;
}

.ed_store-map-wrapper .poi-info-window div,
.ed_store-map-wrapper .poi-info-window a {
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--body-2);
  background-color: unset;
}

.ed_store-map-wrapper .poi-info-window div {
  color: var(--wp--preset--color--contrast-2);
}

.ed_store-map-wrapper .poi-info-window a {
  color: var(--wp--preset--color--accent);
}

.ed_store-map-wrapper .poi-info-window a:hover {
  color: var(--wp--preset--color--accent-2);
}

.map_point_label p,
.map_point_label p {
  font-weight: 500;
}

.cmplz-placeholder-element.acf-map {
  height: 50svh;
  min-height: 300px;
  border: none;
  border-radius: var(--wp--preset--spacing--radius);
}

.cmplz-placeholder-element.acf-map .marker {
  display: none;
}

.cmplz-blocked-content-container .cmplz-blocked-content-notice {
  border: none;
  border-radius: var(--wp--preset--spacing--radius-2);
  background-color: hsl(188deg 14% 8% / 0.8) !important;
  font-family: "Roboto";
  font-weight: 400;
}

/* -- MEDIA QUERIES -- */

@media (min-width: 769px) {
  /* Maps */

  .gm-style-iw-d > div {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .gm-style-iw-a img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
  }

  .marker-content h3 {
    font-size: var(--wp--preset--font-size--h-3);
  }

  .marker-content p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0.2rem;
    font-size: var(--wp--preset--font-size--body-2);
    line-height: 1;
    letter-spacing: var(--letter-spacing-body-2);
    color: var(--wp--preset--color--contrast-4);
  }

  .mc_location-description {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: var(--wp--preset--spacing--gap);
    -moz-column-gap: var(--wp--preset--spacing--gap);
    column-gap: var(--wp--preset--spacing--gap);
  }

  .mc_location-description p {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
  }
}
