.nuki-map {
  --nuki-map-bg: #ecd6a5;
  --nuki-map-panel: #f4e6c8;
  --nuki-map-card: #ffffff;
  --nuki-map-accent: #f2c300;
  --nuki-map-text: #182033;
  --nuki-map-muted: #5b6374;
}

.nuki-map__layout {
  display: flex;
  gap: 22px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: space-between;
  gap: 2vw;
  align-items: stretch;
  overflow: hidden;
  height: 30vw;
}

.nuki-map__canvas-wrap {
  display: flex;
  width: 60vw;
  flex-direction: column;
  align-content: flex-start;
  align-items: stretch;
  gap: 3vw;
}

.nuki-map__canvas {
  border-radius: 10px;
  overflow: hidden;
  height: 100% !important;
  /*   aspect-ratio: 19/17;
  max-height: 450px; */
}

.nuki-map__sidebar {
  display: flex;
  align-content: stretch;
  gap: 20px;
  width: 30vw;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

.nuki-map__filters {
  display: flex;
  gap: 12px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  order: 2;
}

.nuki-map__filter,
.nuki-map__button {
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: "Raleway";
  font-size: 1.2vw;
}

.nuki-map__filter {
  background: #e88ea1;
  color: #1f2430 !important;
}

.mapboxgl-canvas {
  width: 100% !important;
}

.nuki-map__filter:nth-child(1):hover {
  color: unset;
  background-color: #f2c300 !important;
}
.nuki-map__filter:nth-child(2):hover {
  color: unset;
  background-color: #e88ea1 !important;
}
.nuki-map__filter:nth-child(3):hover {
  color: unset;
  background-color: #7eb0d8 !important;
}

.nuki-map__filter:nth-child(1):focus {
  color: #1f2430 !important;
  background-color: #f2c300 !important;
}
.nuki-map__filter:nth-child(2):focus {
  color: #1f2430 !important;
  background-color: #e88ea1 !important;
}
.nuki-map__filter:nth-child(3):focus {
  color: #1f2430 !important;
  background-color: #7eb0d8 !important;
}

.nuki-map__filter:nth-child(1) {
  background: var(--nuki-map-accent);
}

.nuki-map__filter:nth-child(3n) {
  background: #7eb0d8;
}

.nuki-map__filter.is-active {
  box-shadow: inset 0 0 0 3px rgba(24, 32, 51, 0.18);
}

.nuki-map__search-box {
  order: 1;
  width: 100% !important;
}

.nuki-map__city-autocomplete {
  position: relative;
}

.nuki-trouver-cont {
  background-size: 100% 100% !important;
  height: auto !important;
  aspect-ratio: 2/1;
}

.nuki-trouver-cont .elementor-widget-nubo_map {
  width: 100% !important;
}

.nuki-trouver-cont .elementor-widget-nubo_map {
  z-index: 1;
  position: relative;
  z-index: 3;
  top: 0;
  left: 0;
  width: 90%;
}

.nuki-trouver-cont::before {
  content: "";
  display: block;
  width: 100%;
  height: 75%;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: rotateZ(172deg);
  background: #947ad5;
}

.nuki-mapa-aliados .elementor-widget-image {
  position: relative;
  z-index: 3;
}

.nuki-mapa-aliados::before {
  content: "";
  display: block;
  width: 90%;
  height: 100%;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: rotateZ(175deg);
  background: #ffffff;
}

.nuki-map__search-box h3 {
  margin: 0 0 12px;
  font-size: 2.1vw;
  line-height: 1;
  color: var(--nuki-map-text);
  font-family: "Raleway";
}

.nuki-map__city-select {
  width: 100%;
  padding: 14px 20px 14px 18px;
  border-radius: 999px !important;
  border: 1px solid rgba(24, 32, 51, 0.12);
  background: #fff;
  font-family: "Raleway";
  line-height: 1;
  min-height: max-content;
}

.nuki-map__city-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  background: #fff7e6;
  box-shadow: 0 16px 36px rgba(24, 32, 51, 0.14);
  border: 1px solid rgba(24, 32, 51, 0.08);
}

.nuki-map__city-options[hidden] {
  display: none !important;
}

.nuki-map__city-option {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: left;
  background: transparent;
  color: var(--nuki-map-text);
  font-family: "Raleway";
  font-size: 1vw;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nuki-map__city-option:hover,
.nuki-map__city-option:focus {
  background: #f2c300;
  color: #1f2430;
  transform: translateX(4px);
}

.nuki-map__list {
  gap: 0;
  /* max-height: 15vw; */
  overflow: auto;
  background: #ffffff;
  order: 3;
  height: 100%;
}

.nuki-map__list,
.nuki-map__search-box,
.nuki-map__filters {
  justify-content: flex-start !important;
  flex-direction: row !important;
  width: 100% !important;
}

.nuki-map__card {
  display: flex;
  gap: 5%;
  align-items: stretch;
  padding: 1vw !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  padding: 1vw 1.5vw !important;
}

.nuki-map__card-logo {
  width: calc(22% - 1%);
  height: auto;
}

.nuki-map__card-logo img {
   max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    width: 100%;
    object-position: top center;
    aspect-ratio: 2 / 1;
}

.nuki-map__card-content {
  width: calc(70% - 3%);
}

.nuki-map__card-content h4 {
  margin: 0 0 8px;
  color: var(--nuki-map-text);
  font-family: "Raleway";
  font-size: 1.2vw;
  line-height: 1;
}

.nuki-map__card-content p {
  margin: 0;
  color: var(--nuki-map-muted);
  line-height: 1.2;
  font-family: "Raleway";
  font-size: 1.2vw;
}

.nuki-map__card-action {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: calc(8% - 1%);
}

.nuki-map__button {
  /*  display: inline-block;
  background: var(--nuki-map-accent);
  color: #1f2430;
  padding: 0.5vw 1.5vw;
  text-decoration: none !important;
  font-family: "Raleway";
  font-size: 1.2vw; */
  display: flex;
  align-content: flex-end;
  align-items: flex-end;
  justify-content: center;
  text-decoration: none !important;
  width: 100%;
  padding: 0;
}

.nuki-map-marker {
  width: 2vw;
  height: auto;
  aspect-ratio: 1/1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nuki-map-marker img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

button:focus,
.menu-toggle:hover,
button:hover,
.ast-button:hover,
.ast-custom-button:hover .button:hover,
.ast-custom-button:hover,
input[type="reset"]:hover,
input[type="reset"]:focus,
input#submit:hover,
input#submit:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
form[CLASS*="wp-block-search__"].wp-block-search
  .wp-block-search__inside-wrapper
  .wp-block-search__button:hover,
form[CLASS*="wp-block-search__"].wp-block-search
  .wp-block-search__inside-wrapper
  .wp-block-search__button:focus,
body .wp-block-file .wp-block-file__button:hover,
body .wp-block-file .wp-block-file__button:focus {
  color: transparent;
  background-color: transparent;
  border-color: transparent;
}

button,
.ast-button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a:where(.wp-block-button__link) {
  box-shadow: unset !important ;
}

.nuki-map__button,
.nuki-map__card-content p,
.nuki-map__card-content p,
.nuki-map__card-content h4 {
  font-size: 0.9vw !important;
}

@media (max-width: 769px) {
  .nuki-map__layout {
    flex-direction: column;
    gap: 5vw;
    height: auto;
  }
  .nuki-map__canvas-wrap {
    width: 100%;
  }
  .nuki-map__sidebar {
    width: 100%;
    flex-direction: column;
  }
  .nuki-map__filters {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .nuki-map__search-box {
    width: 100%;
  }

  .nuki-map__button,
  .nuki-map__card-content h4,
  .nuki-map__filter,
  .nuki-map__city-select,
  .nuki-map__city-option,
  .nuki-map__card-content p,
  .nuki-map__search-box h3 {
    font-size: 2.5vw;
  }
/*
  .nuki-map__card-action {
    width: 15%;
  }
  .nuki-map__card-logo {
    width: 25%;
  }

  .nuki-map__card-content {
    width: 50%;
  }*/
  .nuki-map__card {
    gap: 4%;
	  padding: 2vw 3vw !important;
  }

  .nuki-map__canvas {
    height: 50vh !important;
  }
  .nuki-map__list {
    max-height: 50vh !important;
  }

  .nuki-map__canvas-wrap {
    order: 2;
  }
  .nuki-map__sidebar {
    order: 1;
  }
  .nuki-mapa-img-flotante-1,
  .nuki-mapa-img-flotante-2,
  .nuki-mapa-img-flotante-3,
  .nuki-mapa-img-flotante-4 {
    display: none !important;
  }
  .nuki-trouver-cont {
    aspect-ratio: unset;
  }

  .nuki-map__button,
  .nuki-map__card-content h4,
  .nuki-map__filter,
  .nuki-map__city-select,
  .nuki-map__city-option,
  .nuki-map__card-content p,
  .nuki-map__search-box h3,
  .nuki-map__button,
  .nuki-map__card-content h4,
  .nuki-map__filter,
  .nuki-map__city-select,
  .nuki-map__city-option,
  .nuki-map__card-content p,
  .nuki-map__search-box h3 {
    font-size: 3.5vw !important;
  }
}

.nuki-map__filter {
  flex: 1 1 30% !important;
}

.nuli-map-cont-product .elementor-widget-image {
  width: 20% !important;
}

.nuli-map-cont-product .elementor-widget-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.nuki-map__card.is-highlighted {
  background: #f9edc6;
}
