.duva-prewhatsapp {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(480px, calc(100vw - 24px));
  height: fit-content;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--linea, #dce1e4);
  background: #fff;
  color: var(--negro, #121416);
  font: inherit;
  box-shadow: 0 22px 64px rgb(0 0 0 / 30%);
}
.duva-prewhatsapp::backdrop { background: rgb(18 20 22 / 70%); }
.duva-prewhatsapp [hidden] { display: none !important; }
.duva-prewhatsapp svg { width: 19px; height: 19px; flex: none; }
.duva-chat-cabecera {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 22px;
  border-top: 3px solid var(--naranja, #f06618);
  background: #171a1c;
  color: #fff;
}
.duva-chat-cabecera > div { flex: 1; min-width: 0; }
.duva-chat-cabecera p { margin: 0 0 2px; color: #cfd5d8; font-size: 13px; }
.duva-chat-cabecera h2 { margin: 0; color: #fff; font-size: 23px; line-height: 1.1; font-weight: 600; }
.duva-chat-icono { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #17633a; color: #fff; }
.duva-wa-cerrar {
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid transparent;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.duva-wa-cerrar:hover { border-color: #7f878a; }
.duva-prewhatsapp .duva-chat-form { display: grid; gap: 12px; padding: 20px 22px 22px; margin: 0; }
.duva-chat-origen { margin: 0; color: #4d555c; font-size: 14px; overflow-wrap: anywhere; }
.duva-chat-campo { display: grid; min-width: 0; gap: 4px; font-size: 14px; color: #232629; }
.duva-chat-telefono { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 9px; }
.duva-prewhatsapp .duva-chat-campo input,
.duva-prewhatsapp .duva-chat-campo select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid #c6cdd2;
  border-radius: 0;
  padding: 0 10px;
  background: #fff;
  color: #121416;
  font: inherit;
  font-size: 16px;
}
.duva-chat-ayuda { margin: -8px 0 0; color: #545c62; font-size: 13px; }
.duva-chat-vista {
  padding: 11px 13px;
  border-left: 2px solid var(--naranja, #f06618);
  background: #f1f3f4;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.duva-chat-vista strong { font-size: 13px; font-weight: 600; }
.duva-chat-vista p { margin: 3px 0 0; font-size: 15px; }
.duva-prewhatsapp .duva-chat-enviar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: #17633a;
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.duva-chat-enviar:hover { background: #124e2e; }
.duva-chat-enviar:disabled { opacity: .72; cursor: wait; }
.duva-prewhatsapp :is(input, select, button):focus-visible { outline: 2px solid #1283ae; outline-offset: 2px; }
.duva-wa-error, .duva-envio-error { color: #8b221b; }
.duva-wa-error { margin: 0; font-size: 14px; }
@media (max-width: 420px) {
  .duva-chat-cabecera, .duva-prewhatsapp .duva-chat-form { padding-left: 15px; padding-right: 15px; }
  .duva-chat-campo { font-size: 13px; }
}

.duva-chat-privacidad { margin: -4px 0 0; color: #545c62; font-size: 13px; }
.duva-u-description div p { margin: 0 0 .32em; line-height: 1.5; }

/* Accesos a favoritos y al portal de alquileres del encabezado. */
header .utiles a:is(.duva-portal-pa, [aria-label^="Mis favoritos"]) {
  --duva-icon-color: #f26d20;
  position: relative;
  display: inline-grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--duva-icon-border, #fff);
  border-radius: 50%;
  background: linear-gradient(var(--duva-icon-color), var(--duva-icon-color)) no-repeat center bottom / 100% 0%;
  color: var(--duva-icon-color);
  opacity: 1;
  transition: background-size .24s ease, color .24s ease, border-color .24s ease;
}
header:not(#header) .utiles { --duva-icon-border: #b8b8b8; }
header .utiles a.duva-portal-pa {
  --duva-icon-color: #00b3b9;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
header .utiles a:is(.duva-portal-pa, [aria-label^="Mis favoritos"]):is(:hover, :focus-visible) {
  background-size: 100% 100%;
  border-color: var(--duva-icon-color);
  color: #fff;
}
header .utiles a[aria-label^="Mis favoritos"] svg {
  --duva-header-heart-fill: currentColor;
  width: 24px;
  height: 24px;
  color: inherit;
}
symbol#i-cor path { fill: var(--duva-header-heart-fill, none); }
header .utiles a[aria-label^="Mis favoritos"] .contador-fav {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  header .utiles a:is(.duva-portal-pa, [aria-label^="Mis favoritos"]) { transition: none; }
}

/* Reducir el espacio entre accesos y favoritos en la portada. */
.accesos + .duva-promo-favoritos { padding-top: 0; }

/* Mantener visible el botón al sumar el filtro de dormitorios en portada. */
@media (min-width: 761px) {
  .buscador .campos:not(.codigo) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1.15fr) minmax(122px, auto);
  }
  .buscador .campos:not(.codigo) > label { min-width: 0; }
  .buscador .campos:not(.codigo) > label :is(input, select) { min-width: 0; }
}
.buscador .campos > button[type="submit"] {
  min-height: 52px;
  width: 100%;
  padding-inline: clamp(22px, 3vw, 42px);
  font-weight: 600;
  cursor: pointer;
}