
:root {
  --abdz-bg: #fffafa;
  --abdz-paper: #fffdfc;
  --abdz-paper-soft: #fff8f8;
  --abdz-ink: #30161d;
  --abdz-muted: #8a7477;
  --abdz-muted-soft: #b49fa3;

  --abdz-red: #8f1f2c;
  --abdz-red-deep: #641821;
  --abdz-red-soft: rgba(143,31,44,.075);
  --abdz-red-line: rgba(143,31,44,.13);
  --abdz-red-line-strong: rgba(143,31,44,.28);

  --abdz-shell-w: 840px;
  --abdz-content-w: 560px;
  --abdz-search-w: 430px;
  --abdz-radius-shell: 24px;
  --abdz-radius-card: 24px;
}

html {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body.abdz-demo-body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  color: var(--abdz-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 7%, rgba(143,31,44,.035), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(143,31,44,.024), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--abdz-bg) 100%);
}

#abdzLocationSelector,
#abdzLocationSelector * {
  box-sizing: border-box;
}

#abdzLocationSelector {
  width: 100%;
  max-width: var(--abdz-shell-w);
  margin: 0 auto;
  color: var(--abdz-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#abdzLocationSelector .abdz-loc-shell {
  width: 100%;
  overflow: visible;
  border-radius: var(--abdz-radius-shell);
  border: 1px solid rgba(143,31,44,.11);
  background:
    linear-gradient(180deg, rgba(255,255,255,.975), rgba(255,250,250,.94));
  box-shadow:
    0 22px 48px rgba(60,18,24,.055),
    inset 0 1px 0 rgba(255,255,255,.74);
}

/* 1. TÍTULO */
#abdzLocationSelector .abdz-loc-header {
  width: 100%;
  max-width: var(--abdz-content-w);
  margin: 0 auto;
  padding: 32px 24px 18px;
  text-align: center;
}

#abdzLocationSelector .abdz-loc-title-block {
  display: grid;
  place-items: center;
  gap: 8px;
}

#abdzLocationSelector .abdz-loc-kicker {
  margin: 0;
  color: #777;
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}

#abdzLocationSelector h2,
#abdzLocationSelector .abdz-loc-title-block h2 {
  margin: 0;
  color: var(--abdz-ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 6vw, 44px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

/* 2. BUSCADOR / CONFIRMACIÓN */
#abdzLocationSelector .abdz-loc-search-row {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: var(--abdz-search-w);
  margin: 0 auto;
  padding: 0 20px 24px;
}

#abdzLocationSelector .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-unified-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  min-height: 88px;
  width: 100%;
  padding: 18px 22px;
  border-radius: var(--abdz-radius-card);
  border: 1px solid var(--abdz-red-line);
  background:
    radial-gradient(circle at 18% 0%, rgba(143,31,44,.045), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,248,249,.955));
  box-shadow:
    0 13px 30px rgba(60,18,24,.046),
    inset 0 1px 0 rgba(255,255,255,.82);
  overflow: hidden;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

#abdzLocationSelector .abdz-loc-search-box:focus-within,
#abdzLocationSelector .abdz-loc-unified-card:focus-within {
  border-color: var(--abdz-red-line-strong);
  box-shadow:
    0 14px 32px rgba(60,18,24,.056),
    0 0 0 4px rgba(143,31,44,.055),
    inset 0 1px 0 rgba(255,255,255,.84);
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed,
#abdzLocationSelector .abdz-loc-unified-card.is-selected {
  animation: abdzUnifiedConfirm .26s ease both;
}

@keyframes abdzUnifiedConfirm {
  from { transform: translateY(2px); }
  to { transform: translateY(0); }
}

/* icono */
#abdzLocationSelector .abdz-loc-unified-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(248,235,238,.99), rgba(243,223,227,.97));
  border: 1px solid rgba(143,31,44,.17);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 5px 10px rgba(143,31,44,.055);
  -webkit-user-select: none;
  user-select: none;
}

#abdzLocationSelector .abdz-loc-unified-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 49%;
  width: 9px;
  height: 9px;
  border: 1.8px solid var(--abdz-red);
  border-radius: 12px 12px 12px 0;
  transform: translate(-50%, -56%) rotate(-45deg);
}

#abdzLocationSelector .abdz-loc-unified-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 43%;
  width: 3.4px;
  height: 3.4px;
  border-radius: 50%;
  background: var(--abdz-red);
  transform: translate(-50%, -50%);
}

#abdzLocationSelector .abdz-loc-unified-content {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
}

#abdzLocationSelector .abdz-loc-unified-content small {
  display: none;
  margin: 0;
  color: var(--abdz-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.05;
  -webkit-user-select: none;
  user-select: none;
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed .abdz-loc-unified-content small,
#abdzLocationSelector .abdz-loc-unified-card.is-selected .abdz-loc-unified-content small {
  display: block;
}

#abdzLocationSelector #abdzDepartmentSearch {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: #5b3138;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.012em;
  -webkit-user-select: text;
  user-select: text;
}

#abdzLocationSelector #abdzDepartmentSearch::placeholder {
  color: var(--abdz-muted-soft);
  opacity: .92;
}

/* Quitar X/iconos nativos */
#abdzLocationSelector input[type="search"]::-webkit-search-decoration,
#abdzLocationSelector input[type="search"]::-webkit-search-cancel-button,
#abdzLocationSelector input[type="search"]::-webkit-search-results-button,
#abdzLocationSelector input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

#abdzLocationSelector input::-ms-clear,
#abdzLocationSelector input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

/* Sugerencias */
#abdzLocationSelector .abdz-loc-suggestions {
  position: absolute;
  left: 20px;
  right: 20px;
  top: calc(100% - 12px);
  z-index: 30;
  display: grid;
  gap: 2px;
  max-height: min(220px, 36vh);
  overflow: auto;
  margin: 0;
  padding: 7px;
  border-radius: 18px;
  border: 1px solid rgba(143,31,44,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.992), rgba(255,248,249,.975));
  box-shadow:
    0 16px 32px rgba(60,18,24,.075),
    inset 0 1px 0 rgba(255,255,255,.82);
  opacity: 0;
  transform: translateY(-6px) scale(.99);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

#abdzLocationSelector .abdz-loc-suggestions:empty,
#abdzLocationSelector .abdz-loc-suggestions.is-empty {
  display: none;
}

#abdzLocationSelector .abdz-loc-suggestions.is-open {
  display: grid;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#abdzLocationSelector .abdz-loc-suggestion {
  width: 100%;
  min-height: 40px;
  padding: 9px 13px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #5b3138;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.08;
  text-align: left;
  cursor: pointer;
}

#abdzLocationSelector .abdz-loc-suggestion:hover,
#abdzLocationSelector .abdz-loc-suggestion:focus-visible {
  background: rgba(143,31,44,.070);
  outline: none;
}

/* 3. MAPA */
#abdzLocationSelector .abdz-loc-main {
  width: 100%;
  max-width: var(--abdz-content-w);
  margin: 0 auto;
  padding: 2px 24px 34px;
}

#abdzLocationSelector .abdz-loc-map-card {
  width: 100%;
  min-width: 0;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  width: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 55%, rgba(143,31,44,.018), transparent 40%);
}

#abdzLocationSelector .abdz-peru-map {
  width: auto;
  height: clamp(350px, 54vh, 424px);
  max-width: 100%;
  display: block;
  overflow: visible;
  filter:
    drop-shadow(0 10px 14px rgba(60,18,24,.046))
    drop-shadow(0 1px 0 rgba(255,255,255,.50));
  shape-rendering: geometricPrecision;
}

#abdzLocationSelector .abdz-map-region {
  fill: #fffefe;
  stroke: #d8c5c7;
  stroke-width: 1.72;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 1;
  paint-order: fill stroke;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  cursor: pointer;
  outline: none !important;
  transform: none !important;
  filter: none !important;
  transition:
    fill .14s ease,
    stroke .14s ease,
    stroke-width .14s ease,
    opacity .14s ease;
  -webkit-tap-highlight-color: transparent;
}

#abdzLocationSelector .abdz-map-region:hover,
#abdzLocationSelector .abdz-map-region.is-preview {
  fill: #f8eaec;
  stroke: var(--abdz-red);
  stroke-width: 2.25;
}

#abdzLocationSelector .abdz-map-region.is-match {
  fill: #f2d3d7;
  stroke: var(--abdz-red);
  stroke-width: 2.35;
}

#abdzLocationSelector .abdz-map-region.is-muted {
  opacity: .34;
}

#abdzLocationSelector .abdz-map-region.is-selected,
#abdzLocationSelector .abdz-map-region.is-selected:hover {
  fill: var(--abdz-red);
  stroke: var(--abdz-red-deep);
  stroke-width: 2.85;
  opacity: 1;
}

#abdzLocationSelector .abdz-map-region:focus,
#abdzLocationSelector .abdz-map-region:focus-visible,
#abdzLocationSelector .abdz-map-region:active {
  outline: none !important;
}

/* Elementos técnicos/antiguos */
#abdzLocationSelector .abdz-loc-side,
#abdzLocationSelector .abdz-loc-selected-card,
#abdzLocationSelector .abdz-loc-hidden-fields,
#abdzLocationSelector .abdz-loc-form-shell,
#abdzLocationSelector .abdz-loc-side-card,
#abdzLocationSelector .abdz-loc-map-head,
#abdzLocationSelector .abdz-loc-search-icon,
#abdzLocationSelector .abdz-loc-tooltip,
#abdzLocationSelector [data-abdz-map-tooltip] {
  display: none !important;
}

/* MOBILE */
@media (max-width: 900px), (pointer: coarse) {
  :root {
    --abdz-shell-w: 430px;
    --abdz-content-w: 370px;
    --abdz-search-w: 340px;
  }

  body.abdz-demo-body {
    min-height: 100svh;
    display: block;
    padding: 10px 8px 18px;
  }

  #abdzLocationSelector {
    max-width: var(--abdz-shell-w);
  }

  #abdzLocationSelector .abdz-loc-shell {
    border-radius: 20px;
  }

  #abdzLocationSelector .abdz-loc-header {
    padding: 20px 18px 15px;
  }

  #abdzLocationSelector h2,
  #abdzLocationSelector .abdz-loc-title-block h2 {
    font-size: clamp(23px, 6.1vw, 29px);
    line-height: 1.04;
    white-space: normal;
  }

  #abdzLocationSelector .abdz-loc-search-row {
    max-width: var(--abdz-search-w);
    padding: 0 16px 20px;
  }

  #abdzLocationSelector .abdz-loc-search-box,
  #abdzLocationSelector .abdz-loc-unified-card {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 11px;
    min-height: 78px;
    padding: 15px 16px;
    border-radius: 22px;
  }

  #abdzLocationSelector .abdz-loc-unified-icon {
    width: 29px;
    height: 29px;
  }

  #abdzLocationSelector #abdzDepartmentSearch {
    min-height: 34px;
    font-size: clamp(21px, 5.6vw, 25px);
    line-height: 1.14;
  }

  #abdzLocationSelector .abdz-loc-unified-content small {
    font-size: 10.2px;
  }

  #abdzLocationSelector .abdz-loc-suggestions {
    left: 16px;
    right: 16px;
    top: calc(100% - 12px);
    max-height: 180px;
    padding: 6px;
  }

  #abdzLocationSelector .abdz-loc-suggestion {
    min-height: 38px;
    font-size: 16px;
  }

  #abdzLocationSelector .abdz-loc-main {
    max-width: var(--abdz-content-w);
    padding: 0 16px 24px;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 0;
    height: clamp(330px, 56svh, 430px);
  }

  #abdzLocationSelector .abdz-peru-map {
    height: min(100%, 410px);
    max-width: 99%;
  }

  #abdzLocationSelector .abdz-map-region:hover,
  #abdzLocationSelector .abdz-map-region.is-preview {
    fill: #fffefe;
    stroke: #d8c5c7;
    stroke-width: 1.72;
  }

  #abdzLocationSelector .abdz-map-region.is-selected,
  #abdzLocationSelector .abdz-map-region.is-selected:hover {
    fill: #96303a;
    stroke: var(--abdz-red-deep);
    stroke-width: 2.65;
  }
}

/* TELÉFONOS BAJOS */
@media (max-width: 430px) and (max-height: 760px) {
  body.abdz-demo-body {
    padding: 8px 6px 16px;
  }

  #abdzLocationSelector .abdz-loc-header {
    padding-top: 15px;
    padding-bottom: 12px;
  }

  #abdzLocationSelector h2,
  #abdzLocationSelector .abdz-loc-title-block h2 {
    font-size: 21px;
  }

  #abdzLocationSelector .abdz-loc-search-row {
    padding-bottom: 16px;
  }

  #abdzLocationSelector .abdz-loc-search-box,
  #abdzLocationSelector .abdz-loc-unified-card {
    min-height: 72px;
    padding: 13px 15px;
  }

  #abdzLocationSelector #abdzDepartmentSearch {
    min-height: 31px;
    font-size: 21px;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    height: clamp(296px, 51svh, 365px);
  }

  #abdzLocationSelector .abdz-peru-map {
    height: min(100%, 354px);
  }
}

@media (max-width: 360px) {
  #abdzLocationSelector .abdz-loc-search-row {
    max-width: 316px;
  }

  #abdzLocationSelector .abdz-loc-search-box,
  #abdzLocationSelector .abdz-loc-unified-card {
    min-height: 68px;
    padding: 12px 14px;
  }

  #abdzLocationSelector #abdzDepartmentSearch {
    font-size: 20px;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    height: 286px;
  }
}


/* =========================================================
   V40: ESPACIADORES INVISIBLES EN CAJA PRINCIPAL
   - Basado en V38.
   - NO agranda el buscador.
   - NO cambia ancho del buscador.
   - Solo agrega aire dentro de la caja principal:
     arriba del título y entre buscador/mapa.
   ========================================================= */

/* Aire invisible superior dentro del contenedor principal */
#abdzLocationSelector .abdz-loc-shell {
  padding-top: 18px;
}

/* Aire invisible entre la caja premium y el mapa */
#abdzLocationSelector .abdz-loc-main {
  padding-top: 24px;
}

/* Compensación limpia para mantener proporción inferior */
#abdzLocationSelector .abdz-loc-main {
  padding-bottom: 38px;
}

/* En móvil el aire debe existir, pero sin volver pesada la pantalla */
@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-loc-shell {
    padding-top: 12px;
  }

  #abdzLocationSelector .abdz-loc-main {
    padding-top: 18px;
    padding-bottom: 28px;
  }
}

@media (max-width: 430px) and (max-height: 760px) {
  #abdzLocationSelector .abdz-loc-shell {
    padding-top: 8px;
  }

  #abdzLocationSelector .abdz-loc-main {
    padding-top: 14px;
    padding-bottom: 22px;
  }
}


/* =========================================================
   V52_ANIMACION_REAL_PREMIUM
   Base: V41_ESTABLE.
   Objetivo: animación visible, limpia y comprobable.
   ========================================================= */

#abdzLocationSelector {
  --abdz-v52-ease: cubic-bezier(.16, 1, .3, 1);
  --abdz-v52-impact: cubic-bezier(.18, .92, .24, 1);
}

/* Estado inicial real */
#abdzLocationSelector.abdz-v52-ready .abdz-loc-title-block,
#abdzLocationSelector.abdz-v52-ready .abdz-loc-search-row,
#abdzLocationSelector.abdz-v52-ready .abdz-loc-map-card {
  opacity: 0;
  transform: translateY(14px);
}

#abdzLocationSelector.abdz-v52-ready .abdz-loc-unified-card {
  transform: translateY(10px) scale(.985);
}

/* Entrada visible por capas */
#abdzLocationSelector.abdz-v52-live .abdz-loc-title-block {
  animation: abdzV52TitleIn .48s var(--abdz-v52-ease) .08s both;
}

#abdzLocationSelector.abdz-v52-live .abdz-loc-search-row {
  animation: abdzV52CardAreaIn .52s var(--abdz-v52-ease) .22s both;
}

#abdzLocationSelector.abdz-v52-live .abdz-loc-map-card {
  animation: abdzV52MapAreaIn .60s var(--abdz-v52-ease) .40s both;
}

@keyframes abdzV52TitleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes abdzV52CardAreaIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes abdzV52MapAreaIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.992);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Línea fina bajo el título: efecto visible, limpio */
#abdzLocationSelector .abdz-loc-title-block h2 {
  position: relative;
  display: inline-block;
}

#abdzLocationSelector .abdz-loc-title-block h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(143,31,44,.46), transparent);
  transform: translateX(-50%);
}

#abdzLocationSelector.abdz-v52-live .abdz-loc-title-block h2::after {
  animation: abdzV52TitleLine .70s ease .44s both;
}

@keyframes abdzV52TitleLine {
  from { width: 0; opacity: 0; }
  55% { opacity: 1; }
  to { width: 74%; opacity: .78; }
}

/* Buscador: brillo real pero contenido */
#abdzLocationSelector .abdz-loc-unified-card {
  overflow: hidden;
}

#abdzLocationSelector .abdz-loc-unified-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,.86) 49%,
      rgba(143,31,44,.10) 53%,
      transparent 64%,
      transparent 100%);
  opacity: 0;
  transform: translateX(-58%);
}

#abdzLocationSelector .abdz-loc-unified-card > * {
  position: relative;
  z-index: 1;
}

#abdzLocationSelector.abdz-v52-live .abdz-loc-unified-card {
  animation: abdzV52CardIn .58s var(--abdz-v52-ease) .24s both;
}

#abdzLocationSelector.abdz-v52-live .abdz-loc-unified-card::before {
  animation: abdzV52CardSweep .92s ease .78s both;
}

@keyframes abdzV52CardIn {
  from {
    transform: translateY(10px) scale(.985);
    box-shadow:
      0 5px 14px rgba(60,18,24,.025),
      inset 0 1px 0 rgba(255,255,255,.82);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes abdzV52CardSweep {
  0% { opacity: 0; transform: translateX(-58%); }
  20% { opacity: .82; }
  100% { opacity: 0; transform: translateX(58%); }
}

/* Dropdown limpio: no invade el mapa; se abre en flujo */
#abdzLocationSelector .abdz-loc-search-row {
  overflow: visible;
}

#abdzLocationSelector .abdz-loc-suggestions {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100%;
  max-height: 0;
  margin: 0;
  padding: 0 7px;
  border-color: transparent;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    max-height .22s ease,
    margin-top .18s ease,
    padding-top .18s ease,
    padding-bottom .18s ease,
    opacity .16s ease,
    transform .16s ease,
    border-color .16s ease;
}

#abdzLocationSelector .abdz-loc-suggestions.is-open {
  max-height: 174px;
  margin-top: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
  border-color: rgba(143,31,44,.12);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#abdzLocationSelector .abdz-loc-suggestions:empty,
#abdzLocationSelector .abdz-loc-suggestions.is-empty {
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#abdzLocationSelector .abdz-loc-suggestions.is-open .abdz-loc-suggestion {
  opacity: 0;
  transform: translateY(-4px);
  animation: abdzV52SuggestionIn .18s ease both;
  animation-delay: calc(var(--abdz-suggestion-index, 0) * 28ms);
}

@keyframes abdzV52SuggestionIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mapa: dibujo real de líneas usando longitud de cada path */
#abdzLocationSelector.abdz-v52-ready:not(.abdz-v52-drawn) .abdz-map-region {
  stroke-dasharray: var(--abdz-len, 180);
  stroke-dashoffset: var(--abdz-len, 180);
  fill-opacity: 0;
}

#abdzLocationSelector.abdz-v52-live:not(.abdz-v52-drawn) .abdz-map-region {
  animation:
    abdzV52MapLineDraw .78s ease-out both,
    abdzV52MapFillIn .52s ease-out both;
  animation-delay:
    calc(.50s + (var(--abdz-i, 0) * 14ms)),
    calc(.82s + (var(--abdz-i, 0) * 14ms));
}

@keyframes abdzV52MapLineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes abdzV52MapFillIn {
  from { fill-opacity: 0; }
  to { fill-opacity: 1; }
}

/* Una vez dibujado, vuelve a comportamiento normal */
#abdzLocationSelector.abdz-v52-drawn .abdz-map-region {
  fill-opacity: 1;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

/* Neutralizar multi-resaltado mientras escribe */
#abdzLocationSelector .abdz-map-region.is-match,
#abdzLocationSelector .abdz-map-region.is-muted {
  fill: #fffefe !important;
  stroke: #d8c5c7 !important;
  stroke-width: 1.72 !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Selección: efecto claro en caja y departamento elegido */
#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select {
  animation: abdzV52CardSelect .70s var(--abdz-v52-impact) both;
}

@keyframes abdzV52CardSelect {
  0% {
    transform: translateY(0) scale(1);
    border-color: rgba(143,31,44,.13);
  }
  32% {
    transform: translateY(-1px) scale(1.008);
    border-color: rgba(143,31,44,.38);
    box-shadow:
      0 16px 30px rgba(143,31,44,.090),
      0 0 0 4px rgba(143,31,44,.045),
      inset 0 1px 0 rgba(255,255,255,.88);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

#abdzLocationSelector .abdz-map-region.abdz-v52-region-select {
  transform-box: fill-box;
  transform-origin: center;
  animation: abdzV52RegionSelect .76s var(--abdz-v52-impact) both !important;
}

@keyframes abdzV52RegionSelect {
  0% {
    transform: scale(1);
    filter: none;
    stroke-width: 2.85;
  }
  34% {
    transform: scale(1.028);
    filter: drop-shadow(0 0 7px rgba(143,31,44,.34));
    stroke-width: 4.0;
  }
  62% {
    transform: scale(.998);
    filter: drop-shadow(0 0 3px rgba(143,31,44,.18));
    stroke-width: 3.1;
  }
  100% {
    transform: scale(1);
    filter: none;
    stroke-width: 2.85;
  }
}

/* Mapa limpio: prohibir capas sucias */
#abdzLocationSelector .abdz-map-stage-effects,
#abdzLocationSelector .abdz-map-aura,
#abdzLocationSelector .abdz-map-scan {
  display: none !important;
}

@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-loc-suggestions.is-open {
    max-height: 148px;
    margin-top: 9px;
  }

  #abdzLocationSelector.abdz-v52-live:not(.abdz-v52-drawn) .abdz-map-region {
    animation-delay:
      calc(.46s + (var(--abdz-i, 0) * 10ms)),
      calc(.72s + (var(--abdz-i, 0) * 10ms));
  }
}

@media (prefers-reduced-motion: reduce) {
  #abdzLocationSelector,
  #abdzLocationSelector *,
  #abdzLocationSelector *::before,
  #abdzLocationSelector *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   V52 — SELECCIÓN SUAVE SIN VIBRACIÓN
   Base: V46.
   Corrige el temblor del buscador al seleccionar.
   Mantiene brillo/reflejo, dibujo del mapa y tamaños.
   ========================================================= */

/* Neutraliza la animación antigua de confirmación que movía la caja */
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed:not(.abdz-v52-card-select),
#abdzLocationSelector .abdz-loc-unified-card.is-selected:not(.abdz-v52-card-select) {
  animation: none !important;
  transform: none !important;
}

/* La caja nunca debe cambiar de tamaño ni saltar al seleccionar */
#abdzLocationSelector .abdz-loc-unified-card,
#abdzLocationSelector .abdz-loc-search-box {
  transform: none;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Selección sin vibración: solo luz, borde y sombra */
#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select {
  animation: abdzV52CardGlowStable .72s cubic-bezier(.16,1,.3,1) both !important;
  transform: none !important;
}

/* Mantener el reflejo que sí gustó, pero más fino al seleccionar */
#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select::before {
  animation: abdzV52CardSelectSweep .82s ease both !important;
}

@keyframes abdzV52CardGlowStable {
  0% {
    border-color: rgba(143,31,44,.13);
    box-shadow:
      0 13px 30px rgba(60,18,24,.046),
      inset 0 1px 0 rgba(255,255,255,.82);
  }
  38% {
    border-color: rgba(143,31,44,.34);
    box-shadow:
      0 16px 32px rgba(143,31,44,.085),
      0 0 0 4px rgba(143,31,44,.040),
      inset 0 1px 0 rgba(255,255,255,.90);
  }
  100% {
    border-color: rgba(143,31,44,.13);
    box-shadow:
      0 13px 30px rgba(60,18,24,.046),
      inset 0 1px 0 rgba(255,255,255,.82);
  }
}

@keyframes abdzV52CardSelectSweep {
  0% {
    opacity: 0;
    transform: translateX(-54%);
  }
  22% {
    opacity: .74;
  }
  100% {
    opacity: 0;
    transform: translateX(54%);
  }
}

/* El icono confirma sin salto: solo luz */
#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select .abdz-loc-unified-icon {
  animation: abdzV52IconGlow .64s ease both;
}

@keyframes abdzV52IconGlow {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.82),
      0 5px 10px rgba(143,31,44,.055);
  }
  42% {
    border-color: rgba(143,31,44,.32);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.92),
      0 0 0 5px rgba(143,31,44,.050),
      0 8px 15px rgba(143,31,44,.10);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.82),
      0 5px 10px rgba(143,31,44,.055);
  }
}

/* Departamento seleccionado: sin escala agresiva, sin vibración */
#abdzLocationSelector .abdz-map-region.abdz-v52-region-select {
  transform: none !important;
  animation: abdzV52RegionGlowStable .70s cubic-bezier(.16,1,.3,1) both !important;
}

@keyframes abdzV52RegionGlowStable {
  0% {
    stroke-width: 2.85;
    filter: none;
  }
  42% {
    stroke-width: 3.25;
    filter: drop-shadow(0 0 5px rgba(143,31,44,.26));
  }
  100% {
    stroke-width: 2.85;
    filter: none;
  }
}

/* Más separación de detalle entre caja y mapa, sin tocar tamaños */
#abdzLocationSelector .abdz-loc-search-row {
  padding-bottom: 31px;
}

#abdzLocationSelector .abdz-loc-main {
  padding-top: 10px;
}

/* Línea sutil divisoria invisible-premium: separa visualmente sin meter otra caja visible */
#abdzLocationSelector .abdz-loc-main::before {
  content: "";
  display: block;
  width: min(220px, 52%);
  height: 1px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, rgba(143,31,44,.105), transparent);
  opacity: .82;
}

/* Dropdown conserva flujo, pero con espacio limpio */
#abdzLocationSelector .abdz-loc-suggestions.is-open {
  margin-bottom: 10px;
}

/* Evita cualquier transform residual al terminar la selección */
#abdzLocationSelector.abdz-v52-drawn .abdz-loc-unified-card:not(.abdz-v52-card-select) {
  transform: none !important;
}

@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-loc-search-row {
    padding-bottom: 27px;
  }

  #abdzLocationSelector .abdz-loc-main {
    padding-top: 8px;
  }

  #abdzLocationSelector .abdz-loc-main::before {
    width: min(180px, 50%);
    margin-bottom: 13px;
  }
}

@media (max-width: 430px) and (max-height: 760px) {
  #abdzLocationSelector .abdz-loc-search-row {
    padding-bottom: 23px;
  }

  #abdzLocationSelector .abdz-loc-main::before {
    margin-bottom: 10px;
  }
}


/* =========================================================
   V52 — TENUE + SIN BUG DE CARGA
   Base: V47.
   Corrige sensación de que el mapa no carga.
   El mapa queda visible desde el primer momento.
   ========================================================= */

/* 1) El mapa NO debe ocultarse para dibujarse.
      Se elimina el efecto de stroke-dash/fill-opacity que parecía bug. */
#abdzLocationSelector.abdz-v52-ready:not(.abdz-v52-drawn) .abdz-map-region,
#abdzLocationSelector.abdz-v52-live:not(.abdz-v52-drawn) .abdz-map-region,
#abdzLocationSelector.abdz-v52-drawn .abdz-map-region {
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
  fill-opacity: 1 !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* 2) Entrada más tenue: solo aparece el bloque, sin sensación de carga lenta */
#abdzLocationSelector.abdz-v52-ready .abdz-loc-title-block,
#abdzLocationSelector.abdz-v52-ready .abdz-loc-search-row,
#abdzLocationSelector.abdz-v52-ready .abdz-loc-map-card {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

#abdzLocationSelector.abdz-v52-live .abdz-loc-title-block,
#abdzLocationSelector.abdz-v52-live .abdz-loc-search-row,
#abdzLocationSelector.abdz-v52-live .abdz-loc-map-card {
  animation: none !important;
}

/* Entrada general mínima de la caja principal */
#abdzLocationSelector .abdz-loc-shell {
  animation: abdzV52ShellSoftIn .24s ease-out both !important;
}

@keyframes abdzV52ShellSoftIn {
  from {
    opacity: .92;
  }
  to {
    opacity: 1;
  }
}

/* 3) Reflejo del buscador: conservarlo, pero más fino y menos fuerte */
#abdzLocationSelector.abdz-v52-live .abdz-loc-unified-card::before {
  animation: abdzV52SoftReflection .68s ease .22s both !important;
}

#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select::before {
  animation: abdzV52SoftReflection .62s ease both !important;
}

@keyframes abdzV52SoftReflection {
  0% {
    opacity: 0;
    transform: translateX(-46%);
  }
  26% {
    opacity: .44;
  }
  100% {
    opacity: 0;
    transform: translateX(46%);
  }
}

/* 4) Selección mucho más tenue: sin vibración, sin salto, sin golpe */
#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select {
  animation: abdzV52CardBreath .54s ease-out both !important;
  transform: none !important;
}

@keyframes abdzV52CardBreath {
  0% {
    border-color: rgba(143,31,44,.13);
    box-shadow:
      0 13px 30px rgba(60,18,24,.046),
      inset 0 1px 0 rgba(255,255,255,.82);
  }
  45% {
    border-color: rgba(143,31,44,.25);
    box-shadow:
      0 14px 28px rgba(143,31,44,.055),
      0 0 0 2px rgba(143,31,44,.026),
      inset 0 1px 0 rgba(255,255,255,.86);
  }
  100% {
    border-color: rgba(143,31,44,.13);
    box-shadow:
      0 13px 30px rgba(60,18,24,.046),
      inset 0 1px 0 rgba(255,255,255,.82);
  }
}

/* Icono más suave */
#abdzLocationSelector .abdz-loc-unified-card.abdz-v52-card-select .abdz-loc-unified-icon {
  animation: abdzV52IconSoft .48s ease-out both !important;
}

@keyframes abdzV52IconSoft {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.82),
      0 5px 10px rgba(143,31,44,.055);
  }
  45% {
    border-color: rgba(143,31,44,.24);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.90),
      0 0 0 3px rgba(143,31,44,.034),
      0 7px 12px rgba(143,31,44,.075);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.82),
      0 5px 10px rgba(143,31,44,.055);
  }
}

/* 5) Departamento: que nunca desaparezca ni parezca bug */
#abdzLocationSelector .abdz-map-region.abdz-v52-region-select {
  transform: none !important;
  animation: abdzV52RegionSoftGlow .48s ease-out both !important;
}

@keyframes abdzV52RegionSoftGlow {
  0% {
    stroke-width: 2.85;
    filter: none;
  }
  45% {
    stroke-width: 3.08;
    filter: drop-shadow(0 0 3px rgba(143,31,44,.16));
  }
  100% {
    stroke-width: 2.85;
    filter: none;
  }
}

/* 6) Separación sutil: menos marcada que V47 */
#abdzLocationSelector .abdz-loc-main::before {
  opacity: .45;
  width: min(190px, 46%);
  margin-bottom: 13px;
}

#abdzLocationSelector .abdz-loc-search-row {
  padding-bottom: 29px;
}

#abdzLocationSelector .abdz-loc-main {
  padding-top: 8px;
}

/* Limpieza final: no animaciones de mapa que simulen carga */
#abdzLocationSelector .abdz-peru-map,
#abdzLocationSelector .abdz-map-region {
  will-change: auto !important;
}

@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-loc-search-row {
    padding-bottom: 25px;
  }

  #abdzLocationSelector .abdz-loc-main::before {
    width: min(160px, 44%);
    margin-bottom: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #abdzLocationSelector,
  #abdzLocationSelector *,
  #abdzLocationSelector *::before,
  #abdzLocationSelector *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   V52 — CONFIRMACIÓN VERDE PREMIUM
   Base: V48.
   El ícono invita a confirmar.
   La cajita solo se vuelve verde cuando el usuario confirma.
   ========================================================= */

/* El icono ahora es botón, pero mantiene estética */
#abdzLocationSelector .abdz-loc-unified-icon {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

#abdzLocationSelector .abdz-loc-unified-icon:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 0 0 4px rgba(143,31,44,.075),
    0 8px 15px rgba(143,31,44,.10);
}

/* Atención sutil: "confírmame" */
#abdzLocationSelector .abdz-loc-unified-card.needs-confirmation .abdz-loc-unified-icon {
  animation: abdzV52ConfirmAttention 1.55s ease-in-out infinite;
}

@keyframes abdzV52ConfirmAttention {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.82),
      0 5px 10px rgba(143,31,44,.055);
    border-color: rgba(143,31,44,.17);
  }
  48% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.90),
      0 0 0 5px rgba(143,31,44,.038),
      0 8px 15px rgba(143,31,44,.090);
    border-color: rgba(143,31,44,.27);
  }
}

/* Estado confirmado: verde suave, solo en la cajita */
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green {
  border-color: rgba(48, 132, 87, .30);
  background:
    radial-gradient(circle at 18% 0%, rgba(73, 158, 104, .070), transparent 32%),
    linear-gradient(180deg, rgba(252,255,253,.995), rgba(244,252,247,.965));
  box-shadow:
    0 14px 30px rgba(40, 116, 76, .055),
    inset 0 1px 0 rgba(255,255,255,.86);
}

/* Verde tipo semáforo elegante, no chillón */
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green #abdzDepartmentSearch {
  color: #245c3c;
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-content small {
  color: #4d7961;
}

/* Icono verde confirmado */
#abdzLocationSelector .abdz-loc-unified-icon.is-confirmed,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon {
  border-color: rgba(48,132,87,.32);
  background:
    linear-gradient(180deg, rgba(238,250,242,.99), rgba(218,241,226,.97));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 6px 12px rgba(48,132,87,.075);
  animation: none;
}

/* Cambiar el pin a check cuando está confirmado, sin SVG extra */
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon::before {
  width: 11px;
  height: 6px;
  border: 0;
  border-left: 2px solid #2f8554;
  border-bottom: 2px solid #2f8554;
  border-radius: 0;
  background: transparent;
  transform: translate(-50%, -58%) rotate(-45deg);
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon::after {
  display: none;
}

/* Animación verde de confirmación */
#abdzLocationSelector .abdz-loc-unified-card.abdz-green-confirm-pulse {
  animation: abdzV52GreenConfirm .76s cubic-bezier(.16,1,.3,1) both !important;
}

@keyframes abdzV52GreenConfirm {
  0% {
    box-shadow:
      0 13px 30px rgba(60,18,24,.046),
      inset 0 1px 0 rgba(255,255,255,.82);
  }
  35% {
    border-color: rgba(48,132,87,.42);
    box-shadow:
      0 16px 32px rgba(48,132,87,.095),
      0 0 0 5px rgba(48,132,87,.055),
      inset 0 1px 0 rgba(255,255,255,.90);
  }
  100% {
    box-shadow:
      0 14px 30px rgba(40,116,76,.055),
      inset 0 1px 0 rgba(255,255,255,.86);
  }
}

/* Reflejo verde al confirmar */
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green::before {
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,.82) 49%,
      rgba(48,132,87,.12) 53%,
      transparent 64%,
      transparent 100%);
}

/* Si el usuario cambia departamento, vuelve a neutral de forma limpia */
#abdzLocationSelector .abdz-loc-unified-card.needs-confirmation:not(.is-confirmed-green) {
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

/* Buenas prácticas */
@media (prefers-reduced-motion: reduce) {
  #abdzLocationSelector .abdz-loc-unified-card.needs-confirmation .abdz-loc-unified-icon {
    animation: none !important;
  }
}


/* =========================================================
   V52 — CAJITA DE CONFIRMACIÓN DEBAJO DEL MAPA
   Base: V49.
   V50 descartada por completo.
   ========================================================= */

/* La zona superior ya no contiene la cajita */
#abdzLocationSelector .abdz-loc-search-row {
  display: none !important;
}

/* Zona inferior exacta: debajo del mapa, centrada */
#abdzLocationSelector .abdz-loc-bottom-confirm {
  width: 100%;
  max-width: var(--abdz-search-w);
  margin: 18px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* La cajita queda abajo, no al costado */
#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-card {
  width: 100%;
  margin: 0 auto;
}

/* No choque con el mapa */
#abdzLocationSelector .abdz-loc-map-wrap {
  margin-bottom: 0;
}

/* Texto interno minimalista */
#abdzLocationSelector .abdz-loc-unified-card.is-selected .abdz-loc-unified-content small,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed .abdz-loc-unified-content small,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-content small {
  display: block;
}

/* Dropdown también queda debajo de la cajita inferior, no encima del mapa */
#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-suggestions {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100%;
  margin-top: 10px;
}

/* Separación general inferior */
#abdzLocationSelector .abdz-loc-main {
  padding-bottom: 42px;
}

/* NO agregar nuevos elementos visuales tipo V50 */
#abdzLocationSelector .abdz-selected-map-pin,
#abdzLocationSelector .abdz-map-prompt,
#abdzLocationSelector .abdz-map-prompt-dot {
  display: none !important;
}

/* Mantener icono de ubicación tal cual: no rediseño extra */
#abdzLocationSelector .abdz-loc-unified-icon {
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-loc-bottom-confirm {
    max-width: var(--abdz-search-w);
    margin-top: 14px;
    padding: 0 16px;
  }

  #abdzLocationSelector .abdz-loc-main {
    padding-bottom: 34px;
  }
}

@media (max-width: 430px) and (max-height: 760px) {
  #abdzLocationSelector .abdz-loc-bottom-confirm {
    margin-top: 11px;
  }

  #abdzLocationSelector .abdz-loc-main {
    padding-bottom: 26px;
  }
}


/* =========================================================
   V52 — PIN EN EL CENTRO DEL DEPARTAMENTO
   Base: V51.
   Único trabajo:
   - quitar animación del icono de ubicación de la cajita
   - poner ese concepto de pin en el centro del departamento elegido
   ========================================================= */

/* Quitar animación del icono de ubicación de la cajita */
#abdzLocationSelector .abdz-loc-unified-icon,
#abdzLocationSelector .abdz-loc-unified-card.needs-confirmation .abdz-loc-unified-icon,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon {
  animation: none !important;
  transform: none !important;
}

/* El SVG debe permitir marcador encima */
#abdzLocationSelector .abdz-peru-map {
  overflow: visible;
}

/* Marcador SVG limpio: solo símbolo, sin círculo externo */
#abdzLocationSelector .abdz-map-selected-pin {
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  filter: drop-shadow(0 5px 10px rgba(88, 27, 37, .14));
}

#abdzLocationSelector .abdz-map-selected-pin.is-visible {
  opacity: 1;
}

#abdzLocationSelector .abdz-map-selected-symbol-halo {
  fill: none;
  stroke: rgba(255, 248, 245, .96);
  stroke-width: 8.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

#abdzLocationSelector .abdz-map-selected-symbol {
  fill: none;
  stroke: #c46a79;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

#abdzLocationSelector .abdz-map-selected-symbol-dot {
  fill: rgba(255, 248, 245, .98);
  stroke: #c46a79;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-map-selected-pin {
    filter: drop-shadow(0 4px 8px rgba(88, 27, 37, .12));
  }

  #abdzLocationSelector .abdz-map-selected-symbol-halo {
    stroke-width: 7.6;
  }

  #abdzLocationSelector .abdz-map-selected-symbol {
    stroke-width: 3.4;
  }

  #abdzLocationSelector .abdz-map-selected-symbol-dot {
    stroke-width: 1.45;
  }
}


/* ===== V59 — Pin web proporcional sobre base V55 ===== */
#abdzLocationSelector .abdz-map-selected-pin {
  opacity: 0;
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .18s ease;
  filter: drop-shadow(0 8px 16px rgba(88, 27, 37, .14));
}

#abdzLocationSelector .abdz-map-selected-pin.is-visible {
  opacity: 1;
}

#abdzLocationSelector .abdz-map-selected-image {
  overflow: visible;
}

/* Mantener fallback vectorial casi invisible, solo por seguridad si falla la carga remota */
#abdzLocationSelector .abdz-map-selected-symbol-halo,
#abdzLocationSelector .abdz-map-selected-symbol,
#abdzLocationSelector .abdz-map-selected-symbol-dot {
  opacity: .04;
}

@media (max-width: 900px), (pointer: coarse) {
  #abdzLocationSelector .abdz-map-selected-pin {
    filter: drop-shadow(0 6px 12px rgba(88, 27, 37, .12));
  }
}


/* ===== V63 — Flujo UX claro: buscar → elegir → confirmar ===== */

/* 3 zonas limpias: pin / nombre-busqueda / check */
#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 18px;
  cursor: default;
  transition:
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .18s ease;
}

/* El texto "Confirma" queda eliminado visualmente para no saturar */
#abdzLocationSelector .abdz-loc-unified-content small {
  display: none !important;
}

/* El icono izquierdo vuelve a ser solo ubicación; nunca check */
#abdzLocationSelector .abdz-loc-unified-icon {
  pointer-events: none;
  cursor: default;
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon {
  border-color: rgba(143,31,44,.17) !important;
  background:
    linear-gradient(180deg, rgba(248,235,238,.99), rgba(243,223,227,.97)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 5px 10px rgba(143,31,44,.055) !important;
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon::before {
  width: 9px !important;
  height: 9px !important;
  border: 1.8px solid var(--abdz-red) !important;
  border-radius: 12px 12px 12px 0 !important;
  background: transparent !important;
  transform: translate(-50%, -56%) rotate(-45deg) !important;
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-unified-icon::after {
  display: block !important;
  width: 3.4px !important;
  height: 3.4px !important;
  border-radius: 50% !important;
  background: var(--abdz-red) !important;
  transform: translate(-50%, -50%) !important;
}

/* En modo búsqueda solo se siente como input */
#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="search"] {
  cursor: text;
}

/* En modo selección la tarjeta comunica "toca para confirmar" sin texto */
#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] {
  cursor: pointer;
}

#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"]:hover {
  border-color: rgba(48,132,87,.30);
  box-shadow:
    0 14px 30px rgba(60,18,24,.052),
    0 0 0 5px rgba(48,132,87,.026),
    inset 0 1px 0 rgba(255,255,255,.84);
}

/* Check derecho: no existe visualmente hasta tener departamento válido */
#abdzLocationSelector .abdz-loc-confirm-check {
  appearance: none;
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(48, 132, 87, .24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,252,250,.94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 7px 14px rgba(48,132,87,.045);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(.88);
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    opacity .18s ease,
    transform .18s ease,
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] .abdz-loc-confirm-check,
#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="confirmed"] .abdz-loc-confirm-check {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#abdzLocationSelector .abdz-loc-confirm-check span {
  width: 11px;
  height: 6px;
  border-left: 2px solid rgba(48,132,87,.54);
  border-bottom: 2px solid rgba(48,132,87,.54);
  transform: translateY(-1px) rotate(-45deg) scale(.94);
  opacity: .72;
  transition:
    opacity .18s ease,
    transform .18s ease,
    border-color .18s ease;
}

#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] .abdz-loc-confirm-check {
  border-color: rgba(48,132,87,.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 0 0 5px rgba(48,132,87,.045),
    0 8px 16px rgba(48,132,87,.062);
}

#abdzLocationSelector .abdz-loc-confirm-check:hover,
#abdzLocationSelector .abdz-loc-confirm-check:focus-visible {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(48,132,87,.50);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 0 0 5px rgba(48,132,87,.06),
    0 9px 18px rgba(48,132,87,.08);
  outline: none;
}

#abdzLocationSelector .abdz-loc-confirm-check:hover span,
#abdzLocationSelector .abdz-loc-confirm-check:focus-visible span {
  opacity: .95;
  border-color: rgba(48,132,87,.76);
  transform: translateY(-1px) rotate(-45deg) scale(1.02);
}

/* Confirmado: verde suave tipo referencia */
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green {
  border-color: rgba(72, 183, 98, .62) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(73, 158, 104, .10), transparent 33%),
    linear-gradient(180deg, rgba(247,255,247,.995), rgba(238,251,240,.985)) !important;
  box-shadow:
    0 14px 30px rgba(40,116,76,.075),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-confirmed,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-confirm-check {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  border-color: rgba(72, 183, 98, .74);
  background:
    linear-gradient(180deg, #56bd6b, #42a95a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 8px 16px rgba(66,169,90,.16);
}

#abdzLocationSelector .abdz-loc-confirm-check.is-confirmed span,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green .abdz-loc-confirm-check span {
  opacity: 1;
  border-color: #fff;
  transform: translateY(-1px) rotate(-45deg) scale(1.04);
}

#abdzLocationSelector .abdz-loc-unified-card.abdz-green-confirm-pulse .abdz-loc-confirm-check {
  animation: abdzV63CheckPop .32s cubic-bezier(.16,1,.3,1) both;
}

@keyframes abdzV63CheckPop {
  0% { transform: scale(.82); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (max-width: 620px) {
  #abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-card {
    column-gap: 14px;
  }
  #abdzLocationSelector .abdz-loc-confirm-check {
    width: 32px;
    height: 32px;
  }
}


/* ===== V64 — Eliminar icono rojo de la cajita inferior ===== */
#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  column-gap: 18px !important;
}

#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-icon {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-content {
  min-width: 0;
}

@media (max-width: 620px) {
  #abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 14px !important;
  }
}


/* ===== V65 — Texto centrado + check con llamada de atencion sutil ===== */
#abdzLocationSelector .abdz-loc-bottom-confirm .abdz-loc-unified-content {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#abdzLocationSelector .abdz-loc-bottom-confirm #abdzDepartmentSearch {
  text-align: center;
}

#abdzLocationSelector .abdz-loc-bottom-confirm #abdzDepartmentSearch::placeholder {
  text-align: center;
}

#abdzLocationSelector .abdz-loc-confirm-check {
  position: relative;
  overflow: visible;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) {
  animation: abdzV65CheckInvite 2.15s ease-in-out infinite;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 1px solid rgba(72, 183, 98, .18);
  opacity: 0;
  transform: scale(.88);
  pointer-events: none;
  animation: abdzV65CheckHalo 2.15s ease-out infinite;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) span {
  opacity: .88;
  border-color: rgba(48,132,87,.76);
}

@keyframes abdzV65CheckInvite {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 0 0 0 rgba(48,132,87,0), 0 8px 16px rgba(48,132,87,.062);
  }
  25% {
    transform: translateY(-1px) scale(1.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 0 0 5px rgba(48,132,87,.035), 0 11px 20px rgba(48,132,87,.09);
  }
  50% {
    transform: translateY(0) scale(1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 0 0 0 rgba(48,132,87,0), 0 8px 16px rgba(48,132,87,.062);
  }
}

@keyframes abdzV65CheckHalo {
  0% {
    opacity: 0;
    transform: scale(.88);
  }
  20% {
    opacity: .38;
  }
  70% {
    opacity: 0;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed),
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
    animation: none !important;
  }
}


/* ===== V66 — Check con brillo y vibracion mas visible ===== */
#abdzLocationSelector .abdz-loc-confirm-check {
  isolation: isolate;
}

#abdzLocationSelector .abdz-loc-confirm-check::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,255,255,0) 15%, rgba(255,255,255,.78) 50%, rgba(255,255,255,0) 85%);
  opacity: 0;
  transform: translateX(-155%) skewX(-20deg);
  pointer-events: none;
  z-index: 0;
}

#abdzLocationSelector .abdz-loc-confirm-check span,
#abdzLocationSelector .abdz-loc-confirm-check::after,
#abdzLocationSelector .abdz-loc-confirm-check::before {
  pointer-events: none;
}

#abdzLocationSelector .abdz-loc-confirm-check span {
  position: relative;
  z-index: 1;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) {
  animation: abdzV66CheckWiggle 1.45s cubic-bezier(.22,.61,.36,1) infinite;
  border-color: rgba(72, 183, 98, .52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 0 0 5px rgba(72,183,98,.065),
    0 10px 20px rgba(48,132,87,.11);
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::before {
  opacity: .96;
  animation: abdzV66CheckShine 1.8s ease-in-out infinite;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
  inset: -9px;
  border-width: 1.5px;
  border-color: rgba(72,183,98,.24);
  animation: abdzV66CheckHalo 1.8s ease-out infinite;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) span {
  opacity: 1;
  border-color: rgba(48,132,87,.92);
}

#abdzLocationSelector .abdz-loc-confirm-check:hover,
#abdzLocationSelector .abdz-loc-confirm-check:focus-visible {
  animation-play-state: paused;
}

@keyframes abdzV66CheckWiggle {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  8% { transform: translate3d(-1px,0,0) scale(1.02); }
  16% { transform: translate3d(1.5px,0,0) scale(1.03); }
  24% { transform: translate3d(-1.5px,0,0) scale(1.04); }
  32% { transform: translate3d(1px,0,0) scale(1.03); }
  40% { transform: translate3d(0,0,0) scale(1.02); }
  55% { transform: translate3d(0,0,0) scale(1); }
}

@keyframes abdzV66CheckShine {
  0%, 20% { transform: translateX(-155%) skewX(-20deg); opacity: 0; }
  30% { opacity: .96; }
  55% { transform: translateX(155%) skewX(-20deg); opacity: .92; }
  56%, 100% { transform: translateX(155%) skewX(-20deg); opacity: 0; }
}

@keyframes abdzV66CheckHalo {
  0% { opacity: 0; transform: scale(.78); }
  18% { opacity: .42; }
  62% { opacity: 0; transform: scale(1.28); }
  100% { opacity: 0; transform: scale(1.28); }
}

@media (max-width: 620px) {
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) {
    animation-duration: 1.6s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed),
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::before,
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
    animation: none !important;
  }
}


/* ==========================================================================
   V67 — PULIDO FINAL NO INVASIVO
   Objetivo:
   1) Mantener base V66 aprobada.
   2) Buscar departamento usa paleta del proyecto: rojo vino / burgundy.
   3) Animación fuerte pero premium SOLO EN PC.
   4) En celular se apaga la animación para evitar lag.
   ========================================================================== */

/* 01. Color del buscador alineado a la interfaz */
#abdzLocationSelector .abdz-loc-bottom-confirm #abdzDepartmentSearch {
  color: var(--abdz-red-deep) !important;
  caret-color: var(--abdz-red) !important;
}

#abdzLocationSelector .abdz-loc-bottom-confirm #abdzDepartmentSearch::placeholder {
  color: rgba(143, 31, 44, .62) !important;
  opacity: 1 !important;
}

/* 02. Estado pendiente: check en paleta rojo vino, no verde antes de confirmar */
#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) {
  border-color: rgba(143, 31, 44, .36) !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 252, .98), rgba(255, 247, 248, .96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 0 0 4px rgba(143,31,44,.035),
    0 10px 20px rgba(143,31,44,.065) !important;
}

#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) span {
  border-color: rgba(143, 31, 44, .78) !important;
  opacity: 1 !important;
}

/* 03. Apagar animaciones previas por defecto: mobile-first, seguro para celular */
#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed),
#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::before,
#abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
  animation: none !important;
}

/* 04. Animación premium SOLO PC: mouse fino + pantalla amplia */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed) {
    overflow: visible;
    animation: abdzV67CheckAttentionPC 1.38s cubic-bezier(.22,.61,.36,1) infinite !important;
    will-change: transform, box-shadow;
  }

  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 999px;
    background:
      linear-gradient(120deg,
        rgba(255,255,255,0) 14%,
        rgba(255,255,255,.92) 50%,
        rgba(255,255,255,0) 86%);
    opacity: 0;
    transform: translateX(-160%) skewX(-18deg);
    pointer-events: none;
    animation: abdzV67CheckShinePC 1.75s ease-in-out infinite !important;
  }

  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 999px;
    border: 1.4px solid rgba(143,31,44,.22);
    opacity: 0;
    transform: scale(.82);
    pointer-events: none;
    animation: abdzV67CheckHaloPC 1.75s ease-out infinite !important;
  }

  #abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] {
    animation: abdzV67CardBreathPC 2.6s ease-in-out infinite;
  }
}

/* 05. Celular/tablet: cero vibración y cero brillo para rendimiento */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed),
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::before,
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after,
  #abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] {
    animation: none !important;
    will-change: auto !important;
  }

  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::before,
  #abdzLocationSelector .abdz-loc-confirm-check.is-ready:not(.is-confirmed)::after {
    opacity: 0 !important;
  }
}

/* 06. Respeto a accesibilidad */
@media (prefers-reduced-motion: reduce) {
  #abdzLocationSelector .abdz-loc-confirm-check,
  #abdzLocationSelector .abdz-loc-confirm-check::before,
  #abdzLocationSelector .abdz-loc-confirm-check::after,
  #abdzLocationSelector .abdz-loc-unified-card {
    animation: none !important;
    transition-duration: .01ms !important;
    will-change: auto !important;
  }
}

/* 07. Keyframes V67 agrupados para que otra IA los encuentre fácil */
@keyframes abdzV67CheckAttentionPC {
  0%, 100% {
    transform: translate3d(0,0,0) scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.92),
      0 0 0 3px rgba(143,31,44,.030),
      0 10px 20px rgba(143,31,44,.065);
  }
  10% {
    transform: translate3d(-1.8px,0,0) scale(1.025);
  }
  20% {
    transform: translate3d(2px,0,0) scale(1.04);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.96),
      0 0 0 6px rgba(143,31,44,.060),
      0 13px 24px rgba(143,31,44,.090);
  }
  30% {
    transform: translate3d(-1.6px,0,0) scale(1.03);
  }
  40% {
    transform: translate3d(1px,0,0) scale(1.02);
  }
  54% {
    transform: translate3d(0,0,0) scale(1);
  }
}

@keyframes abdzV67CheckShinePC {
  0%, 18% {
    opacity: 0;
    transform: translateX(-160%) skewX(-18deg);
  }
  30% {
    opacity: .95;
  }
  56% {
    opacity: .9;
    transform: translateX(160%) skewX(-18deg);
  }
  57%, 100% {
    opacity: 0;
    transform: translateX(160%) skewX(-18deg);
  }
}

@keyframes abdzV67CheckHaloPC {
  0% {
    opacity: 0;
    transform: scale(.82);
  }
  18% {
    opacity: .42;
  }
  66% {
    opacity: 0;
    transform: scale(1.32);
  }
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes abdzV67CardBreathPC {
  0%, 100% {
    box-shadow:
      0 14px 30px rgba(60,18,24,.052),
      0 0 0 4px rgba(143,31,44,.018),
      inset 0 1px 0 rgba(255,255,255,.84);
  }
  50% {
    box-shadow:
      0 15px 32px rgba(60,18,24,.058),
      0 0 0 6px rgba(143,31,44,.030),
      inset 0 1px 0 rgba(255,255,255,.88);
  }
}


/* V380: ajuste visual para checkout embebido */
#abdzLocationSelector .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-unified-card {
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  min-height: 74px;
  padding: 14px 16px;
}

#abdzLocationSelector .abdz-loc-unified-content input,
#abdzLocationSelector input#abdzDepartmentSearch {
  min-width: 0;
  width: 100%;
  font-size: clamp(15px, 3.8vw, 18px);
  text-overflow: ellipsis;
}

#abdzLocationSelector .abdz-loc-confirm-check {
  width: 30px;
  height: 30px;
}


/* V380: integración profesional con checkout */
:root {
  --abdz-bg: #ffffff;
  --abdz-paper: #ffffff;
  --abdz-paper-soft: #fafafa;
  --abdz-ink: #1f1f21;
  --abdz-muted: #747474;
  --abdz-muted-soft: #9a9a9a;
  --abdz-red: #8f1f2c;
  --abdz-red-deep: #7a1b27;
  --abdz-red-soft: rgba(143,31,44,.055);
  --abdz-red-line: rgba(0,0,0,.08);
  --abdz-red-line-strong: rgba(143,31,44,.22);
  --abdz-shell-w: 760px;
  --abdz-content-w: 520px;
  --abdz-search-w: 410px;
}

body.abdz-demo-body {
  background: #ffffff !important;
  padding: 0 !important;
}

#abdzLocationSelector {
  max-width: 760px;
}

#abdzLocationSelector .abdz-loc-shell {
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-header {
  padding: 22px 18px 12px !important;
}

#abdzLocationSelector .abdz-loc-title-block {
  gap: 7px !important;
}

#abdzLocationSelector .abdz-loc-kicker {
  color: #8b8b8b !important;
  font-size: 9.5px !important;
  letter-spacing: .20em !important;
}

#abdzLocationSelector h2,
#abdzLocationSelector .abdz-loc-title-block h2 {
  font-size: clamp(25px, 4.8vw, 35px) !important;
  color: #202022 !important;
}

#abdzLocationSelector .abdz-loc-guide {
  max-width: 360px;
  margin: 2px auto 0;
  color: #6f6f6f;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

#abdzLocationSelector .abdz-loc-main {
  padding: 0 18px 16px !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 325px !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(143,31,44,.030), transparent 44%),
    linear-gradient(180deg, #ffffff, #fbfbfb) !important;
}

#abdzLocationSelector .abdz-peru-map {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.045)) !important;
}

#abdzLocationSelector .abdz-map-region {
  fill: #f7f7f7 !important;
  stroke: #dedede !important;
  stroke-width: 1.55 !important;
}

#abdzLocationSelector .abdz-map-region:hover,
#abdzLocationSelector .abdz-map-region.is-preview {
  fill: rgba(143,31,44,.16) !important;
  stroke: rgba(143,31,44,.42) !important;
}

#abdzLocationSelector .abdz-map-region.is-selected {
  fill: #8f1f2c !important;
  stroke: #6f1823 !important;
}

#abdzLocationSelector .abdz-loc-bottom-confirm {
  padding: 0 18px 22px !important;
}

#abdzLocationSelector .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-unified-card {
  min-height: 66px !important;
  grid-template-columns: 26px minmax(0, 1fr) 32px !important;
  column-gap: 9px !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  border-color: #e8e8e8 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-search-box:focus-within,
#abdzLocationSelector .abdz-loc-unified-card:focus-within {
  border-color: rgba(143,31,44,.22) !important;
  box-shadow: 0 0 0 4px rgba(143,31,44,.045) !important;
}

#abdzLocationSelector .abdz-loc-unified-icon {
  background: #f7f7f7 !important;
  border-color: #e6e6e6 !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-unified-content input,
#abdzLocationSelector input#abdzDepartmentSearch {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  color: #222 !important;
}

#abdzLocationSelector input#abdzDepartmentSearch::placeholder {
  color: #8b8b8b !important;
}

#abdzLocationSelector .abdz-loc-confirm-check {
  width: 30px !important;
  height: 30px !important;
  border-color: #dcdcdc !important;
  background: #f7f7f7 !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] .abdz-loc-confirm-check,
#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="confirmed"] .abdz-loc-confirm-check {
  background: #1f1f21 !important;
  border-color: #1f1f21 !important;
}

#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"] .abdz-loc-confirm-check span,
#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="confirmed"] .abdz-loc-confirm-check span {
  border-color: #ffffff !important;
}

#abdzLocationSelector .abdz-loc-suggestions {
  border-color: #e8e8e8 !important;
  background: #ffffff !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.06) !important;
}

#abdzLocationSelector .abdz-loc-suggestion {
  color: #303030 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 14px !important;
}

#abdzLocationSelector .abdz-loc-suggestion:hover,
#abdzLocationSelector .abdz-loc-suggestion:focus-visible {
  background: #f5f5f5 !important;
}


/* V381: quitar ambigüedad de check y caja verde */
#abdzLocationSelector .abdz-loc-header {
  padding-top: 16px !important;
  padding-bottom: 8px !important;
}

#abdzLocationSelector .abdz-loc-guide {
  max-width: 410px !important;
  font-size: 11.8px !important;
  margin-top: 0 !important;
}

#abdzLocationSelector .abdz-loc-main {
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 300px !important;
}

#abdzLocationSelector .abdz-loc-bottom-confirm {
  padding-bottom: 16px !important;
}

#abdzLocationSelector .abdz-loc-confirm-check {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-unified-card {
  grid-template-columns: 26px minmax(0, 1fr) !important;
  min-height: 58px !important;
  border-color: #e5e5e5 !important;
}

#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="selected"],
#abdzLocationSelector .abdz-loc-unified-card[data-abdz-card-mode="confirmed"],
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green,
#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-neutral {
  background: #ffffff !important;
  border-color: #d9d9d9 !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-unified-card.is-confirmed-green {
  animation: none !important;
}

#abdzLocationSelector .abdz-loc-unified-content small {
  color: #757575 !important;
}

#abdzLocationSelector .abdz-map-region.is-selected {
  fill: #8f1f2c !important;
  stroke: #6f1823 !important;
}

#abdzLocationSelector .abdz-map-selected-pin {
  opacity: .92 !important;
}


/* V382: cabecera del mapa como campo Departamento */
#abdzLocationSelector .abdz-loc-header {
  padding: 12px 16px 6px !important;
}

#abdzLocationSelector .abdz-loc-title-block {
  place-items: stretch !important;
  text-align: left !important;
  gap: 4px !important;
}

#abdzLocationSelector .abdz-loc-kicker {
  display: none !important;
}

#abdzLocationSelector h2,
#abdzLocationSelector .abdz-loc-title-block h2 {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  color: #222 !important;
}

#abdzLocationSelector .abdz-loc-guide {
  max-width: none !important;
  margin: 0 !important;
  color: #777 !important;
  font-size: 11.7px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

#abdzLocationSelector .abdz-loc-main {
  padding-top: 2px !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 285px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 14px !important;
}

#abdzLocationSelector .abdz-loc-bottom-confirm {
  padding-top: 8px !important;
}


/* V383: iframe convertido en herramienta visual, sin interfaz duplicada */
body.abdz-demo-body {
  padding: 0 !important;
  background: #ffffff !important;
  min-height: auto !important;
  display: block !important;
}

#abdzLocationSelector {
  max-width: 100% !important;
  width: 100% !important;
}

#abdzLocationSelector .abdz-loc-shell {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

#abdzLocationSelector .abdz-loc-header,
#abdzLocationSelector .abdz-loc-bottom-confirm,
#abdzLocationSelector .abdz-loc-search-row,
#abdzLocationSelector .abdz-loc-hidden-fields {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-main {
  max-width: none !important;
  padding: 8px 10px 10px !important;
}

#abdzLocationSelector .abdz-loc-map-card {
  width: 100% !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 330px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background:
    radial-gradient(circle at 50% 52%, rgba(143,31,44,.028), transparent 45%),
    linear-gradient(180deg, #ffffff, #fbfbfb) !important;
}

#abdzLocationSelector .abdz-peru-map {
  max-height: 315px !important;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.04)) !important;
}

#abdzLocationSelector .abdz-map-region {
  fill: #f7f7f7 !important;
  stroke: #dedede !important;
  stroke-width: 1.4 !important;
}

#abdzLocationSelector .abdz-map-region:hover,
#abdzLocationSelector .abdz-map-region.is-preview {
  fill: rgba(143,31,44,.14) !important;
  stroke: rgba(143,31,44,.38) !important;
}

#abdzLocationSelector .abdz-map-region.is-selected {
  fill: #8f1f2c !important;
  stroke: #701722 !important;
}

#abdzLocationSelector .abdz-map-selected-pin {
  opacity: .9 !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 295px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 285px !important;
  }
}


/* V387: reducir únicamente el espacio vacío debajo del mapa */
#abdzLocationSelector .abdz-loc-main {
  padding: 4px 10px 4px !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 280px !important;
  height: 280px !important;
}

#abdzLocationSelector .abdz-peru-map {
  max-height: 268px !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 255px !important;
    height: 255px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 244px !important;
  }
}


/* V388: buscador arriba y estilos suaves tipo campo */
#abdzLocationSelector .abdz-loc-shell {
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-header,
#abdzLocationSelector .abdz-loc-bottom-confirm {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-search-row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0 12px !important;
}

#abdzLocationSelector .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-unified-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 0 16px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-search-box:focus-within,
#abdzLocationSelector .abdz-loc-unified-card:focus-within {
  border-color: #d6d6d6 !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-unified-icon,
#abdzLocationSelector .abdz-loc-confirm-check,
#abdzLocationSelector .abdz-loc-unified-content small {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-unified-content {
  gap: 0 !important;
}

#abdzLocationSelector #abdzDepartmentSearch {
  min-height: 54px !important;
  padding: 0 !important;
  color: #222 !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

#abdzLocationSelector #abdzDepartmentSearch::placeholder {
  color: #9a9a9a !important;
  opacity: 1 !important;
}

#abdzLocationSelector .abdz-loc-main {
  padding: 0 !important;
}

#abdzLocationSelector .abdz-loc-map-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 242px !important;
  height: 242px !important;
  border: 1px solid #ececec !important;
  border-radius: 14px !important;
  background: #fbfbfb !important;
}

#abdzLocationSelector .abdz-peru-map {
  max-height: 228px !important;
}

#abdzLocationSelector .abdz-loc-suggestions {
  left: 0 !important;
  right: 0 !important;
  top: calc(100% - 2px) !important;
  border-radius: 14px !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-search-row {
    padding: 0 0 10px !important;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 220px !important;
    height: 220px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 208px !important;
  }
}


/* V389: burbujita superior + mapa sin cajas dobles */
#abdzLocationSelector,
#abdzLocationSelector .abdz-loc-shell {
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-header,
#abdzLocationSelector .abdz-loc-bottom-confirm {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-search-row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
}

#abdzLocationSelector .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-unified-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-search-box:focus-within,
#abdzLocationSelector .abdz-loc-unified-card:focus-within {
  border-color: #d3d3d3 !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.025) !important;
}

#abdzLocationSelector .abdz-loc-unified-icon,
#abdzLocationSelector .abdz-loc-confirm-check,
#abdzLocationSelector .abdz-loc-unified-content small {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-unified-content {
  gap: 0 !important;
}

#abdzLocationSelector #abdzDepartmentSearch {
  min-height: 46px !important;
  padding: 0 !important;
  color: #222 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

#abdzLocationSelector #abdzDepartmentSearch::placeholder {
  color: #9a9a9a !important;
  opacity: 1 !important;
}

#abdzLocationSelector .abdz-loc-main {
  padding: 0 !important;
}

#abdzLocationSelector .abdz-loc-map-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 250px !important;
  height: 250px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fbfbfb !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-peru-map {
  max-height: 238px !important;
}

#abdzLocationSelector .abdz-loc-suggestions {
  left: 0 !important;
  right: 0 !important;
  top: calc(100% - 2px) !important;
  border-radius: 14px !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-search-row {
    padding-bottom: 8px !important;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 230px !important;
    height: 230px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 218px !important;
  }
}


/* V390: cajita visible para escribir o tocar el mapa */
#abdzLocationSelector .abdz-loc-header,
#abdzLocationSelector .abdz-loc-bottom-confirm {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-shell {
  overflow: visible !important;
}

#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] {
  display: block !important;
  position: relative !important;
  z-index: 50 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  overflow: visible !important;
}

#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-unified-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-unified-content {
  display: grid !important;
  align-content: center !important;
  gap: 0 !important;
  min-width: 0 !important;
}

#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-unified-content small,
#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-confirm-check,
#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-unified-icon {
  display: none !important;
}

#abdzLocationSelector #abdzDepartmentSearch {
  display: block !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #222 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  outline: none !important;
}

#abdzLocationSelector #abdzDepartmentSearch::placeholder {
  color: #9a9a9a !important;
  opacity: 1 !important;
}

#abdzLocationSelector .abdz-loc-main {
  padding: 0 !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 250px !important;
  height: 250px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fbfbfb !important;
  box-shadow: none !important;
}

#abdzLocationSelector .abdz-peru-map {
  max-height: 238px !important;
}

#abdzLocationSelector .abdz-loc-suggestions {
  left: 0 !important;
  right: 0 !important;
  top: calc(100% - 2px) !important;
  z-index: 80 !important;
  border-radius: 14px !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] {
    padding-bottom: 8px !important;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 230px !important;
    height: 230px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 218px !important;
  }
}


/* V391: más respiración vertical para el mapa */
#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 292px !important;
  height: 292px !important;
}

#abdzLocationSelector .abdz-peru-map {
  max-height: 278px !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 270px !important;
    height: 270px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 256px !important;
  }
}


/* V687: mapa más visible y con cajita premium blanca */
#abdzLocationSelector .abdz-loc-map-wrap {
  min-height: 318px !important;
  height: 318px !important;
  border: 1px solid #f2f4f6 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .03) !important;
  padding: 8px 8px 6px !important;
  overflow: hidden !important;
}

#abdzLocationSelector .abdz-peru-map {
  width: auto !important;
  max-width: 100% !important;
  max-height: 294px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  transform: translateY(-4px) scale(1.07) !important;
  transform-origin: center center !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-map-wrap {
    min-height: 294px !important;
    height: 294px !important;
    border-radius: 16px !important;
    padding: 6px 6px 4px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    max-height: 270px !important;
    transform: translateY(-2px) scale(1.05) !important;
  }
}


/* V688: mapa completo, sin recorte y sin escala improvisada.
   Una sola regla final domina el módulo: buscador arriba + cajita blanca + Perú completo. */
body.abdz-demo-body {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  min-height: auto !important;
  display: block !important;
  overflow: visible !important;
}

#abdzLocationSelector,
#abdzLocationSelector .abdz-loc-shell,
#abdzLocationSelector .abdz-loc-main,
#abdzLocationSelector .abdz-loc-map-card {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#abdzLocationSelector .abdz-loc-shell {
  border-radius: 0 !important;
}

#abdzLocationSelector .abdz-loc-main {
  padding: 0 !important;
}

#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] {
  display: block !important;
  position: relative !important;
  z-index: 60 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 14px !important;
  overflow: visible !important;
}

#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-search-box,
#abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] .abdz-loc-unified-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #e6e8eb !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

#abdzLocationSelector #abdzDepartmentSearch {
  min-height: 46px !important;
  padding: 0 !important;
  color: #222 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

#abdzLocationSelector .abdz-loc-unified-icon,
#abdzLocationSelector .abdz-loc-confirm-check,
#abdzLocationSelector .abdz-loc-unified-content small,
#abdzLocationSelector .abdz-loc-header,
#abdzLocationSelector .abdz-loc-bottom-confirm,
#abdzLocationSelector .abdz-loc-hidden-fields {
  display: none !important;
}

#abdzLocationSelector .abdz-loc-map-wrap {
  width: 100% !important;
  height: 358px !important;
  min-height: 358px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #f2f4f6 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .025) !important;
  padding: 10px 8px !important;
  overflow: visible !important;
}

#abdzLocationSelector .abdz-peru-map {
  width: auto !important;
  height: 334px !important;
  max-height: 334px !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  transform: none !important;
  transform-origin: center center !important;
  overflow: visible !important;
}

#abdzLocationSelector .abdz-map-region {
  fill: #f8f8f8 !important;
  stroke: #dcdfe3 !important;
  stroke-width: 1.35 !important;
}

#abdzLocationSelector .abdz-map-region.is-selected {
  fill: #8f1f2c !important;
  stroke: #7b1925 !important;
}

#abdzLocationSelector .abdz-map-region:hover,
#abdzLocationSelector .abdz-map-region.is-preview {
  fill: rgba(143,31,44,.14) !important;
  stroke: rgba(143,31,44,.40) !important;
}

@media (max-width: 560px) {
  #abdzLocationSelector .abdz-loc-search-row[data-abdz-top-search="true"] {
    padding-bottom: 12px !important;
  }

  #abdzLocationSelector .abdz-loc-map-wrap {
    height: 326px !important;
    min-height: 326px !important;
    border-radius: 16px !important;
    padding: 8px 6px !important;
  }

  #abdzLocationSelector .abdz-peru-map {
    height: 306px !important;
    max-height: 306px !important;
  }
}
