
  /* --- Contenedor y búsqueda --- */
  .lms-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .lms-container .lms-columns .lms-list-viewmore-btn{
    cursor: pointer;
    background-color: #112632;
    flex-grow: 1;
    color: #F5F8FA;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.5px;
    font-weight: 700;
    text-align: center;
    padding: 15px 24px;
    border-radius: 90px;
    margin: 24px 16px 48px;
    display: none;
  }

	/* Search Box */
	.lms-container .lms-search {
		position: relative;
		padding-bottom: 24px;
    border-bottom: 1px solid #D4DCDD;
    display: flex;
    gap: 16px;
    align-items: center;
	}
  .lms-container #lms-location-search{
    margin-right: 12px;
  }
  .lms-container .lms-search input {
		width: 100%;
    max-width: 364px;
    border: 1px solid #D4DCDD;
    border-radius: 90px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    background-image: url(/wp-content/uploads/2025/03/search.svg);
    background-repeat: no-repeat;
    background-position: 20px;
    padding: 20px 20px 20px 56px !important;
    color: #5A6868 !important;
    background-size: 24px;
  }
	.lms-container .lms-search input:focus-visible,
	.lms-container .lms-search input:focus{
		outline: 0;
		color: #060505 !important;
		border: 1px solid #D4DCDD !important;
	}
  .lms-container .lms-search .lms-clear-search{
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 14px !important;
    letter-spacing: .5px !important;
    cursor: pointer;
  }

  /* --- Suggestion Box --- */
	.lms-container .lms-search .lms-suggestions {
		position: absolute;
		top: calc(100% + -8px);
		left: 0;           /* alinea al borde izquierdo del contenedor */
		transform: none;   /* quita el translateX centrar */
		width: 100%;       /* ocupa todo el ancho del input */
		max-width: 364px;
		max-height: 300px;
		overflow-y: auto;
		background: #fafafa;
		border: 1px solid #D4DCDD;
		border-radius: 8px;
		z-index: 1000;
		padding: 8px 24px 8px;
	}
  .lms-container .lms-search #lms-suggestions-zip{
   
  }
  .lms-container .lms-search .lms-suggestions div {
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;                  /* Alinea todo a la izquierda */
    border-bottom: 1px solid #D4DCDD;  /* Borde separador */
		padding: 16px 0;
  }
	.lms-container .lms-search .lms-suggestions div:hover{
		opacity: 0.8;
	}
  .lms-container .lms-search .lms-suggestions div:last-child {
    border-bottom: none !important;               /* Sin borde en el último */
  }
  .lms-container .lms-search .lms-suggestions div h2 {
		margin: 0;
    color: #060505;
    font-family: "DM Sans", sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    margin-bottom: 6px;
  }
  .lms-container .lms-search .lms-suggestions div p {
    margin: 0;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    color: #384242 !important;
  }

  /* --- Card List --- */
  .lms-columns { display: flex; gap: 0; }
  .lms-list {
    width: 25%;
    max-height: 82vh;
    overflow-y: auto;
		padding-right: 3%;
  }
  .lms-list .lms-noresults{
    background-color: #EFF1F1;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    color: #384242 !important;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .lms-noresults.show {
    display: block;
  }
  .lms-item {
		background: #EFF1F1;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    margin-bottom: 16px;
  }
  .lms-item img {
		width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 24px;
	}
  .lms-item h2 {
		font-family: "DM Sans", sans-serif !important;
    font-size: 17px;
    line-height: 24px;
    font-weight: 700; 
    letter-spacing: 0;
    color: #060505;
    margin: 0 0 8px;
	}
	.lms-item .meta{
		margin: 0;
    padding: 0;
    list-style: none;
		margin-bottom: 16px;
	}
	.lms-item .meta li{
		display: flex;
		gap: 8px;
		font-family: "DM Sans", sans-serif !important;
		font-size: 15px;
		font-weight: 400;
		line-height: 22px;
		letter-spacing: 0;
		color: #2E6889;
		align-items: start;
		margin-bottom: 8px;
	}
  .lms-item .meta li a{
		display: flex;
		gap: 8px;
		font-family: "DM Sans", sans-serif !important;
		font-size: 15px;
		font-weight: 400;
		line-height: 22px;
		letter-spacing: 0;
		color: #2E6889;
		align-items: start;
		margin-bottom: 8px;
	}
	.lms-item .meta li img{
		width: 24px;
    height: 24px;
    margin: 0;
    object-fit: none;
	}
	.lms-item .button-group{
		display: flex;
		justify-content: space-between;
		gap: 8px;
	}
  .lms-item .button-group .lms-inquire-btn {
		cursor: pointer;
    background-color: #112632;
    flex-grow: 1;
    color: #F5F8FA;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.5px;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    border-radius: 90px;
  }
	.lms-item .button-group .lms-inquire-btn:hover{
		background-color: #24516B;
	}
	.lms-item .lms-learn-btn{
		cursor: pointer;
    background-color: #BAD1DE;
    flex-grow: 1;
    color: #112632 !important;
    font-family: "DM Sans", sans-serif;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.5px !important;
    font-weight: 700 !important;
    text-align: center;
    padding: 8px;
    border-radius: 90px;
	}
	.lms-item .lms-learn-btn:hover{
		background-color: #94BBD1;
		color: #112632 !important;
	}
  .lms-map {
    width: 75%;
    height: 80vh;
    border-radius: 8px;
  }
  .lms-map #lms-usergeosearch{
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FAFAFA;
    padding: 12px 24px 12px 54px;
    border-radius: 90px;
    border: 1px solid #D4DCDD;
    font-family: "DM Sans", sans-serif;
    font-size: 15px !important;
    line-height: 22px !important;
    letter-spacing: 0px !important;
    font-weight: 700 !important;
    color: #060505;
    background-image: url('/wp-content/uploads/2025/05/my_location-1.png');
    background-repeat: no-repeat;
    background-position: 20px 12px;
    background-size: 22px;
    box-shadow: 0px 8px 24px 0px rgba(6, 5, 5, 0.1);
    cursor: pointer;
  }
  .lms-map #lms-usergeosearch:hover{
    background-color: #E3EDF2;
  }
  

  /* --- Popups minimalistas --- */
  /* Reset del contenedor de Google Maps */
  .gm-style-iw {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 8px !important;
		max-height: none !important;
		max-width: 364px !important;
		width: 364px !important;
  }
	.gm-style-iw .gm-style-iw-d {
		padding: 0 !important;
    max-height: none !important;
		overflow: visible !important;
	}
  /* Oculta los elementos decorativos internos */
  .gm-style-iw-chr,
  .gm-style-iw-ch {
    display: none !important;
  }
	.gm-style .gm-style-iw-tc::after{
		background: #24516B;
	}

  /* Contenido interno */
  .lms-infowindow {
  	background: #24516B;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(6, 5, 5, 0.1);
  }
  .lms-infowindow .lms-infowindow-close{
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0;
    color: #BAD1DE;
    text-transform: lowercase;
    position: absolute;
    top: -3px;
    right: 6px;
    cursor: pointer;
  }
  /* Imagen al 100% */
  .lms-infowindow img {
		width: 100% !important;
    height: 200px !important;
    border-radius: 4px;
    margin-bottom: 24px;
    display: block;
    object-fit: cover;
  }
  /* Título y texto compactos */
  .lms-infowindow h2 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0;
    color: #FAFAFA;
    margin: 0 0 8px;
  }
	.lms-infowindow .meta{
		margin: 0;
    padding: 0;
    list-style: none;
		margin-bottom: 16px;
	}
	.lms-infowindow .meta li{
		display: flex;
		gap: 8px;
		font-family: "DM Sans", sans-serif !important;
		font-size: 15px;
		font-weight: 400;
		line-height: 22px;
		letter-spacing: 0;
		color: #BAD1DE;
		align-items: start;
		margin-bottom: 8px;
	}
  .lms-infowindow .meta li a{
    display: flex;
		gap: 8px;
		font-family: "DM Sans", sans-serif !important;
		font-size: 15px;
		font-weight: 400;
		line-height: 22px;
		letter-spacing: 0;
		color: #BAD1DE;
		align-items: start;
		margin-bottom: 8px;
  }
  .lms-infowindow .meta li a:focus,
  .lms-infowindow .meta li a:focus-visible{
    outline: 0;
  }
	.lms-infowindow .meta li img{
		width: 24px !important;
    height: 24px !important;
    margin: 0;
    object-fit: none;
	}
  .lms-infowindow p {
    margin: 0.25rem 0;
    font-size: 1rem;
    line-height: 1.2;
    color: #555;
  }
  /* Link estilo botón minimal */
  /* Link estilo botón idéntico a .lms-inquire-btn */
	.lms-infowindow .button-group{
		display: flex;
		justify-content: space-between;
		gap: 8px;
	}
  .lms-infowindow .lms-inquire-btn {
		cursor: pointer;
    background-color: #F5F8FA;
    flex-grow: 1;
    color: #112632 !important;
    font-family: "DM Sans", sans-serif;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.5px !important;
    font-weight: 700 !important;
    text-align: center;
    padding: 8px;
    border-radius: 90px;
  }
	.lms-infowindow .lms-inquire-btn:hover{
		background-color: #E3EDF2;
	}
	.lms-infowindow .lms-learn-btn{
		cursor: pointer;
    background-color: #BAD1DE;
    flex-grow: 1;
    color: #112632 !important;
    font-family: "DM Sans", sans-serif;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.5px !important;
    font-weight: 700 !important;
    text-align: center;
    padding: 8px;
    border-radius: 90px;
	}
	.lms-infowindow .lms-learn-btn:focus-visible, 
	.lms-infowindow .lms-learn-btn:focus{
		outline: 0 !important;
	}
	.lms-infowindow .lms-learn-btn:hover{
		background-color: #94BBD1;
		color: #112632 !important;
	}

  @media only screen and (max-width: 1680px) {
    .lms-list{ width: 40%; }
    .lms-map{ width: 60%; }

  }

  @media only screen and (max-width: 1024px) {
    .lms-container #lms-location-search{ width: 300px; }
    .lms-container #lms-location-zip{ width: 300px; }
    .lms-container .lms-search .lms-suggestions{
      max-width: 300px;
    }
    .lms-container .lms-search #lms-suggestions-zip{
      max-width: 300px;
      left: 324px;
    }
  }

	@media only screen and (max-width: 767px) {
		.lms-container{ gap: 0; }
		.lms-container .lms-search{
			box-shadow: inset 0 4px 12px rgba(27, 27, 27, 0.1);
			padding: 24px 16px;
			border: 0;
      flex-direction: column;
      align-items: start;
		}
    .lms-container #lms-location-search{ width: 100%; }
    .lms-container #lms-location-zip{ width: 100%; }
		.lms-container .lms-search input{ 
      max-width: 100%;
    }
    .lms-container .lms-search .lms-clear-search{
      margin-left: 24px;
    }
		.lms-container .lms-search .lms-suggestions{
      max-width: 100%;
      top: 107px;
      width: calc(100% - 32px);
      left: 16px;
    }
    .lms-container .lms-search #lms-suggestions-zip{
      max-width: 100%;
      top: 190px;
      width: calc(100% - 32px);
      left: 16px;
    }
		.lms-columns{ flex-direction: column; }
		.lms-list{
			width: 100%; 
			padding: 0 16px;
      max-height: none;
		}
    .lms-list .lms-item:nth-child(n+9) {
      display: none;
    }
		.lms-map{ 
			width: 100%; 
			border-radius: 0;
		}
    .lms-container .lms-columns .lms-list-viewmore-btn{
      display: block;
    }

	}
  
  