/* Ocultar la fila de Fecha Agregada en Estatik */
.es-property-field--date_added,
.es-property-fields__item--date-added,
.es-p-single__field--date_added {
    display: none !important;
}
#es-field-sort option[value*="price"] {
    display: none !important;
}
#es-field-sort option:checked {
    color: transparent;
}/* Bajar el botón Enviar a su propia línea */
.wpcf7-submit {
  display: block;
  margin-top: 15px;
}

/* Achicar el texto del aviso de privacidad */
.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 13px;
}
.imprint { display: none !important; }

.wp-block-breadcrumbs {
  text-transform: lowercase;
}
.wp-block-breadcrumbs::first-letter {
  text-transform: uppercase;
}
.site-logo img, .custom-logo {
  max-height: 100px;
  width: auto;
}
.site-branding {
  padding-top: 15px;
  padding-bottom: 15px;
}
.main-navigation {
  padding-right: 100px;
}
.wp-block-cover__inner-container h2,
.wp-block-cover__inner-container p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}
.caja-formulario-contacto {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.caja-formulario-contacto input[type="text"],
.caja-formulario-contacto input[type="email"],
.caja-formulario-contacto input[type="tel"],
.caja-formulario-contacto input[type="date"],
.caja-formulario-contacto select,
.caja-formulario-contacto textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #fafafa;
    margin-bottom: 15px;
    box-sizing: border-box;
}
/* --- ALINEACIÓN HORIZONTAL PERFECTA EN EL STICKY --- */
.sticklr-fixed #site-navigation ul, 
#site-navigation ul.menu,
.main-navigation ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 5px 15px !important;
}

#site-navigation ul.menu > li,
.main-navigation ul > li {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
}
/* --- ALINEAR FLECHA DE RENTA JUNTO AL TEXTO --- */
#site-navigation li.menu-item-has-children > a,
.main-navigation li.menu-item-has-children > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

#site-navigation li.menu-item-has-children > a::after,
.main-navigation li.menu-item-has-children > a::after {
    position: static !important;
    margin-left: 0 !important;
}
/* Oculta el título "INICIO" que genera el plugin de Estatik en el listado */
.es-title {
    display: none !important;
}
body.single-properties:has(article.es_tag-precio-reducido) .es-gallery {
  position: relative;
  overflow: hidden;
}
body.single-properties:has(article.es_tag-precio-reducido) .es-gallery::before {
  content: "PRECIO REDUCIDO";
  position: absolute;
  top: 48px;
  left: -78px;
  width: 300px;
  text-align: center;
  transform: rotate(-45deg);
  background: #c62828;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  z-index: 10;
  pointer-events: none;
}
/* ===== PÁGINA DE LA PROPIEDAD: cinta en computadora ===== */
body.single-properties:has(article.es_tag-precio-reducido) .es-gallery {
  position: relative;
  overflow: hidden;
}
body.single-properties:has(article.es_tag-precio-reducido) .es-gallery::before {
  content: "PRECIO REDUCIDO";
  position: absolute;
  top: 48px;
  left: -78px;
  width: 300px;
  text-align: center;
  transform: rotate(-45deg);
  background: #c62828;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  z-index: 10;
  pointer-events: none;
}
html[lang^="en"] body.single-properties:has(article.es_tag-precio-reducido) .es-gallery::before {
  content: "PRICE REDUCED";
}

/* ===== PÁGINA DE LA PROPIEDAD: cinta en celular ===== */
body.single-properties:has(article.es_tag-precio-reducido) .es-mobile-gallery-wrap {
  position: relative;
  overflow: hidden;
}
body.single-properties:has(article.es_tag-precio-reducido) .es-mobile-gallery-wrap::before {
  content: "PRECIO REDUCIDO";
  position: absolute;
  top: 34px;
  left: -64px;
  width: 240px;
  text-align: center;
  transform: rotate(-45deg);
  background: #c62828;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  z-index: 10;
  pointer-events: none;
}
html[lang^="en"] body.single-properties:has(article.es_tag-precio-reducido) .es-mobile-gallery-wrap::before {
  content: "PRICE REDUCED";
}

/* ===== PÁGINA DE LA PROPIEDAD: precio anterior tachado ===== */
body.single-properties:has(article#post-2525) .es-price::before {
  content: "$315,000 USD";
  text-decoration: line-through;
  color: #888;
  font-size: 0.7em;
  font-weight: 400;
  margin-right: 12px;
}

/* ===== LISTADO (tarjetas): cinta ===== */
.es-listing__image:has(a[href*="terralta-estrella-2"]) {
  position: relative;
  overflow: hidden;
}
.es-listing__image:has(a[href*="terralta-estrella-2"])::before {
  content: "PRECIO REDUCIDO";
  position: absolute;
  top: 28px;
  left: -58px;
  width: 220px;
  text-align: center;
  transform: rotate(-45deg);
  background: #c62828;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  z-index: 10;
  pointer-events: none;
}
html[lang^="en"] .es-listing__image:has(a[href*="terralta-estrella-2"])::before {
  content: "PRICE REDUCED";
}

/* ===== LISTADO (tarjetas): precio anterior tachado ===== */
.es-listing:has(a[href*="terralta-estrella-2"]) .es-badges {
  white-space: nowrap;
}
.es-listing:has(a[href*="terralta-estrella-2"]) .es-badges .es-price {
  margin-right: 0.6em;
}
.es-listing:has(a[href*="terralta-estrella-2"]) .es-badges .es-price::before {
  content: "$315,000";
  text-decoration: line-through;
  color: #888;
  font-size: 0.7em;
  font-weight: 400;
  margin-right: 8px;
}