@supports (padding-top: env(safe-area-inset-top)) {
  body {
    padding-top: env(safe-area-inset-top);
  }
}

body.zestimates-body {
  margin-top: 0;
}
body.zestimates-body.look-fill-sothebys {
  margin-top: 0;
}
body.zestimates-body .hero-video-wrapper{ 
  height: 100vh;
}

.btn-underline,
.text-underline {
  text-decoration: underline!important;
  border: none;
  font-weight: initial;
}

.btn-underline:hover {
  color: #0056b3;
  background-color: transparent;
}

.btn {
  padding-left: 32px!important;
  padding-right: 32px!important;
  border: none;
  background-color: transparent;
  font-weight: initial;
  /* font-weight: 500; */
}
.btn-sm {
  padding: 8px 24px!important;
}

/* FORZAR VISIBILIDAD DEL MENÚ EN ZESTIMATES */
header .menu_spy .nav-item.basico {
  display: block !important;
}

/* Asegurar que los dropdowns también se vean */
header .menu_spy .nav-item.basico .dropdown {
  display: block !important;
}

/* Asegurar que los links se vean */
header .menu_spy .nav-item.basico a,
header .menu_spy .nav-item.basico .nav-link {
  display: block !important;
}






.agent-photo {
  height: 120px;
  width: 120px;
}

.agent-photo-rounded {
  height: 96px;
  width: 96px;
  border-radius: 50%;
}

.simpleAccount .container-infoagent {
  gap:24px;
  margin-bottom: 36px;
}

.zestimate-body {
  background: #f6f7fb;
  font-family: 'Montserrat', 'Libre Franklin', Arial, sans-serif;
}

.zestimate-hero {
  display: flex;
  /* min-height: 100vh; */
  width: 100%;
  padding: 0;
}

.zestimate-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
  gap: 0 16px; /* filas / columnas */
}

.zestimate-form input,
.bootstrap-select > .dropdown-toggle {
  background-color: #fff!important;
}

.zestimate-form .w-50 {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.zestimate-form .w-100 {
  grid-column: span 2;
}

.zestimate-form .zestimate-send{
  display: flex;
  justify-content: center;
  font-size: 14px;
}



.zestimate .title-section,
.zestimate-step__container .title-section,
.zestimate-step__column .title-section {
  /* font-size: 24px; */
  font-weight: 300;
  text-align: center;
}

.zestimate .subtitle-section,
.zestimate-step__container .subtitle-section {
  font-size: 15px;
}

.zestimate-step {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  margin: 0 auto; 
}

.zestimate-step .txt h1.hero-title {
  font-size: 32px;
}

.zestimate-step .txt h2.hero-subtitle {
  font-size: 16px;
}

.zestimate-step__container {
  /* border: solid 1px orangered; */
  width: 100%;
  /* max-width: 1350px; */
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 32px;
}

.zestimate-step__container .zestimate-step__column {
  /* border: solid 1px violet; */
  display: flex;
  align-items: left;
  justify-content: center;
  flex-direction: column;
  /* height: 100vh; */
  width: 50%;
}

.zestimate-step__container form label {
  letter-spacing: 0;
}

.zestimate-body .title-section {
  font-size: 24px;
  margin-bottom: 8px;
 }

 .zestimate-body .subtitle-section {
  margin-bottom: 28px;
  font-size: 16px;
}

.zestimate-search {
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 0;
}

.zestimate-search input {
  position: relative;
  border: none;
  padding-left: 42px;
  padding-right: 42px;
  min-height: 64px;
  border-radius: 32px;
}

.zestimate-search input.form-control:focus {
  border-color: #004a9b;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.zestimate-search .search-icon {
  position: absolute;
  left: 8px;
  z-index: 2;
  background-size: 22px;
  background-image: url(https://gloho.com/cdn/utilidades/search.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 32px;
  width: 32px;
}

.zestimate-search .clearAddress {
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  right: 8px;
  z-index: 2;
  height: 32px;
  width: 32px;
  line-height: 0;
  padding: 0;
  color: #000;
}

.zestimate-search,
.zestimate-suggestions {
  width: 100%;
  max-width: 768px;
}

.zestimate-suggestions {
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 0;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #fff;
  display: none;
}

.zestimate-suggestions.visible {
  display: block;
}

.zestimate-suggestion {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
}
.zestimate-suggestion > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* width: 85%; */
  /* outline: solid 1px #f41b4e */
}

.zestimate-suggestion:hover {
  background: #f7f7fb;
}

.zestimate-suggestion .type {
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #011e60;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zestimate-step__head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 999px;
  color: #475569;
  font-size: 12px;
  margin: 0;
}

.zestimate-step__head > div {
  gap: 16px;
}



/* CloseBTN */
.zestimate-close {
  position: absolute;
  top: 28px;
  right: 32px;
  border: none;
  background: none;
  font-size: 26px;
  color: #444;
  line-height: 1;
  cursor: pointer;
}

/* back-button */
.zestimate-step.zestimate-step-2 {
position: relative;
}

.zestimate-step__head-buttons {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  max-height: 62px;
  padding: 12px 16px;
  color: #999;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all 0.5s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: aqua; */
  
}

.icon-in-btn {
  font-family: 'Montserrat', 'Libre Franklin', Arial, sans-serif!important;
  padding: 0 8px 0 0!important;
  margin: 0;
  border: none;
  background: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 1px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all 0.5s;
}

.icon-in-btn .icon {
  height: 24px;
  width: 24px;
  padding: 0;
  margin-right: 8px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}

.icon-in-btn:hover b,
.icon-in-btn:hover span.text-in-btn {
  text-decoration: underline; 
}

.icon-in-btn:hover .icon {
  background-color: #000;
  color: #fff;
}

.icon-in-btn .icon.icon-close {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
}

.zestimate-address {
  font-weight: 500;
}



/* Zestimate Result - FLEXBOX ADAPTATIVO */
.zestimate-result {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch; /* Hace que todos tengan la misma altura */
  margin: 24px 0;
  text-align: center;
  background-color: #f7f7f5;
  border-radius: 8px;
  -webkit-box-shadow:  0px 6px 16px 0px rgba(0,0,0,0.05); 
  box-shadow:  0px 6px 16px 0px rgba(0,0,0,0.05);
}

.zestimate-result-block {
  flex: 1; /* ← CAMBIO 1: Ocupa espacio disponible equitativamente */
  min-width: 0; /* ← CAMBIO 2: Permite encogerse sin límite */
  border-radius: 0;
  padding: 18px 8px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Adaptación responsive automática */
@media (max-width: 768px) {
  .zestimate-result-block {
    flex: 1 1 calc(50% - 14px); /* 2 columnas en tablets */
  }
}

@media (max-width: 480px) {
  .zestimate-result-block {
    flex: 1 1 100%; /* 1 columna en móviles */
  }
}

.zestimate-result-block .label {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.zestimate-result-block strong {
  font-size: 24px;
  font-weight: 500;
  color: #002349;
  line-height: 100%;
}

.zestimate-result-block strong small.no-data {
  font-size: 60%;
  color: #d1d4d7;
  letter-spacing: 0;
}


.price-block-low { 
  /* color: #f97316!important;  */
  /* font-size: 20px; */
}
.price-block-mid { 
  /* color: #16a34a!important;  */
  /* font-size: 28px; */
}
.price-block-high { 
  /* color: #f41b4e!important;  */
  /* font-size: 20px; */
}

/* Accuracy */
.accuracy {
  text-align: center;
}

.accuracy-meter {
  position: relative;
  height: 68px;
  background: linear-gradient(90deg, #f97316 0%, #16a34a 60%, #f41b4e 100%);
  border-radius: 14px;
  overflow: hidden;
}

.accuracy-meter .needle {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 2px;
  height: 74px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
  transform: translateX(-50%);
}













/* Disclaimer */
.zestimate-disclaimer {
  font-size: 12px;
  margin-bottom: 12px;
  text-align: center;
}

.zestimate-link {
  /* text-decoration: underline; */
  /* color: #0ea5e9;
  font-weight: 700;
  text-decoration: none; */
}

.zestimate-disclaimer-small {
  font-size: 8px;
  text-align: center;
}

.zestimate-disclaimer,
.zestimate-disclaimer-small .zestimate-link,
.zestimate-disclaimer-small {
  color: #6b7280;
}

.zestimate-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid #e5e7eb;
  border-top-color: #002349;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}


/* Mostrar dirección de forma consistente */
.zestimate-address-display {
  display: block;
  font-size: 15px;
  font-weight: 300;
  color: #1e293b;
  height: 65px;
  margin-bottom: 0;
  line-height: 1.4;
}

[data-step="3"] .zestimate-step__column {
  padding-left: 24px;
  padding-right: 24px;
}

[data-step="3"] .zestimate-address-display {
  height: 45px;
}

[data-step="3"] .zestimate-step__container > .zestimate-step__column:first-child .subtitle-section {
  margin-bottom:30px;
}

.zestimate-address-inline {
  font-weight: 600;
  color: #1e293b;
}


.zestimate-step__column .zestimate-map {
  height:220px;
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  margin: 24px auto 24px;
}

.zestimate-step__column .zestimate-map#mapStep3 {
  height:160px;
  margin-top: 16px
}

@keyframes spin {
  to { transform: rotate(360deg); }
}




.dropdown .dropdown-toggle:after {
  background: url(https://gloho.com/cdn/utilidades/arrow-down.svg) no-repeat center;
}

.bootstrap-select > .dropdown-toggle {
  padding: 10px 8px!important;
}

.bootstrap-select .dropdown-menu {
  /* top: 45px; */
  margin-top: 45px;
  overflow: inherit !important;
}

ul.dropdown-menu li a.dropdown-item {
  padding: 12px 8px;
}

ul.dropdown-menu li a.dropdown-item:hover {
  background-color: #f7f8fa;
}

.bs-searchbox,
.selectpicker-phone .bs-searchbox {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;  
}

.invalid-feedback {
  font-size: 10px;
  letter-spacing: 0;
}

.zestimates-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.zestimates-contact-btns .btn,
.zestimates-contact-btns a {
  min-width: 55%;
}




@media (max-width: 1200px) {
  .zestimate-step__container {
    /* padding: 20px 16px; */
  }
}

@media (max-width: 992px) {
  .zestimate-hero {
    flex-direction: column;
  }

  .zestimate-step__container {
    /* padding: 40px 28px 64px; */
  }
  .zestimate-result {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .zestimate-form {
    grid-template-columns: 1fr;
  }

  .zestimate-form .w-100 {
    grid-column: span 1;
  }

  .zestimate-step__container {
    flex-direction: column;
    align-items: center;
  }

  .btn_light_blue {
    -webkit-border-radius: 32px !important;
    -moz-border-radius: 32px !important;
    border-radius: 32px !important;
  }


	.zestimate-step.zestimate-step-1 {
    padding-top: 0!important;
  }


	.zestimate-step {
		justify-content: flex-start!important;
    padding-top: 48px!important;
	}

	.zestimate-step__container {
        padding-top: 0!important;
        padding-bottom: 70px!important;
        flex-direction: column-reverse; /* Lado derecho arriba, izquierdo abajo */
  }

  /* Las columnas deben ocupar 100% en mobile */
  .zestimate-step__column {
    width: 100% !important;
    padding-left: 0!important;
    padding-right: 0!important;
  }

  .zestimate-step .title-section,
  .zestimate-step .zestimate-address-display {
    padding-left: 16px!important;
    padding-right: 16px!important;
  }

  .zestimate-step__container.zestimate-step__head {
    padding: 28px 16px!Important;
    flex-direction: row;
  }

  .zestimate-step__column .zestimate-map {
    max-width: 100%;
    margin-top: 0;
  }

  .zestimate-result {
    flex-wrap: nowrap;
  }
  
  .zestimate-step-3.zestimate-step {
    padding-top: 0 !important;
  }

  .zestimate-step-2 .zestimate-step__head .btn.icon-in-btn{

  }

  .zestimate-step-3 .zestimate-step__head {
    position: relative;
    height: auto;
    padding: 10px 20px !important;
    align-items: flex-end;
  }

  .zestimate-step-3 .zestimate-step__head .btn.icon-in-btn{
    padding: 0 !important;
  }
  
  simpleAccount .container-infoagent {
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .zestimates-contact-btns {
    gap: 16px;
  }
 
  .simpleAccount .container-infoagent {
    margin-bottom: 16px;
  }

  .zestimates-contact-btns .btn,
  .zestimates-contact-btns a {
    min-width: 270px;
  }
  
  .zestimate-disclaimer-small {
    margin-top: 38px !important;
    margin-bottom: 20px!important;
  }
}

@media (max-width: 576px) {
  .zestimate-step__container {
    padding: 32px 20px 52px;
  }

  .zestimate-close {
    right: 16px;
    top: 18px;
  }
  .zestimate-step .txt h1.hero-title {
		font-size: 24px;
		line-height: 1;
  }
  .zestimate-step .txt h2.hero-subtitle {
    font-size: 14px;
  }
  .zestimate-result {
    flex-direction: column;
    gap: 0;
  }
}
