@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --color-primary: #3DAFF7;
    --color-secondary: #49E0D0;
    
}

.d-flex{
    display: flex;
    flex-wrap: wrap;
}
.col-3{
    width: 22%;
}

/* Estilos generales del plugin */
.inm-container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Coming soon (PT) generic */
.inm-coming-soon, .inm-coming-soon-lg { position: relative; background: linear-gradient(135deg,#f5f7fa,#e4ecf7); border:1px solid #d0dae6; border-radius:12px; padding:30px 24px; text-align:center; overflow:hidden; }
.inm-coming-soon h5, .inm-coming-soon-lg h2 { margin-top:0; }
.inm-coming-soon p, .inm-coming-soon-lg p { margin:10px 0 20px; font-size:15px; line-height:1.4; }
.inm-coming-soon-lg { display:flex; align-items:center; justify-content:center; min-height:320px; }
.inm-coming-inner { position:relative; z-index:2; max-width:520px; }
.inm-badge-pulse { display:none; }
@keyframes pulseShadow { 0% { box-shadow:none;} 70% { box-shadow:none;} 100% { box-shadow:none;} }
.inm-soon-bg { position:absolute; inset:0; background:radial-gradient(circle at 30% 30%, rgba(0,70,255,.15), transparent 60%), radial-gradient(circle at 70% 70%, rgba(255,128,0,.12), transparent 65%); opacity:.7; filter:blur(2px); }
.inm-coming-soon-lg .btn-ver { background:#0046ff; color:#fff; text-decoration:none; padding:12px 26px; border-radius:8px; font-weight:600; display:inline-block; }
.inm-coming-soon-lg .btn-ver:hover { background:#0039d1; }

/* Ensure logo above coming soon panel */
.ultimas-propiedades > img.img-icono { position:relative; z-index:10; margin-bottom:18px; }
.inm-coming-soon-properties { margin-top:0; }
.inm-coming-soon-properties h2 { font-size: 1.9rem; }
.inm-coming-soon-properties p { font-size: 1rem; opacity:.85; }


/* Estilos del formulario de búsqueda */
.propiedades-search-tabs {
    width: 70%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0px;
    border-radius: 8px;
    font-family: "Raleway", serif;

}


.tabs-header {
    display: flex;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: var(--color-secondary);
    text-transform: uppercase;
    margin-left: 3px;
    border-radius: 0px;

}
.tabs-header .tab-btn:first-child {
    margin-left: 0;
}

.tab-btn.active {
    color: #000;
    background: #fff;
   
}

.tab-content {
    display: none;
    
}

.tab-content.active {
    display: block;
    background: #fff;
    padding: 30px 15px;
    
}

.tab-content .slogan{
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 0px;
    color: #333;
     font-family: "Raleway", serif;
    font-weight: 300;
}

/* Estilos de formularios */

.search-form{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.search-form .form-group {
    width: 100%;
    margin-bottom: 0;
}


.search-form select,
.search-form input {
    padding-left: 10px;
    border: 1px solid #ddd;
    border-radius: 10px !important;
    flex: 1;
    height: 45px;
    min-width: 100%;
    background: #EFEFEF;
    border: none;
    margin-bottom: 0px !important;
}
:where(.wp-site-blocks :focus) {
    outline-width: 0px;
  outline-style: solid;
}

.search-form .search-btn{
    background:  var(--color-primary);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    min-width:100% ;
    min-height: 45px;
    box-shadow: 0 0 10px var(--color-primary);
    width: 93%;
    font-weight: 800;
}

.search-form .search-btn:hover {
    background: #0097A7;
}

.comprar .form-group {
    width: 26.3%;
}

.comprar .form-group.cont-btn{
   width: 14%;
   display: flex;
   justify-content: flex-end;
}

.vender .form-group {
    width: 67%;
}

.vender .form-group.cont-btn{
   width: 31%;
   display: flex;
   justify-content: flex-end;
}
.valorar .form-group {
    width: 67%;
}

.valorar .form-group.cont-btn{
   width: 31%;
   display: flex;
   justify-content: flex-end;
}




/* Estilos de las tarjetas de propiedades */


.ultimas-propiedades {
    margin: 40px auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     font-family: "Raleway", serif;

.ultimas-propiedades > img.img-icono { flex:0 0 100%; order:0; align-self:center; display:block; margin:0 auto 18px; }
}
.ultimas-propiedades .img-icono{
    display: block !important;
    height: 50px;
}
.ultimas-propiedades h2{
    font-size: 1.6rem;
    font-family: "Raleway", serif;
    width:100%;
    text-align: center;
    margin-bottom: 40px;

    
}

.propiedades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.propiedad-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.propiedad-card:hover {
    transform: translateY(-5px);
}

.propiedad-imagen {
    position: relative;
    height: 200px;
    overflow: hidden;
    
}

.propiedad-imagen .label{
    position: absolute;
    background: #fd9004;
    top: 10px;
    left: 10px;
    padding: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 6px #8e8e8e;
}

.propiedad-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.etiqueta-nuevo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.propiedad-info {
    padding: 20px;
}

.propiedad-ubicacion {
    color: #000;
    font-size: 0.9em;
    margin-bottom: 5px;
    font-weight: 900;
    text-transform: uppercase;
}

.propiedad-titulo {
    font-size: 1.1em;
    margin-bottom: 10px;
    margin-top: 3px;
    color: #000;
     font-family: "Raleway", serif;
}

.propiedad-precio {
    font-size: 1.4em;
    font-weight: bold;
    color: #7971A1;
    margin-bottom: 15px;
}

.propiedad-info .footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.propiedad-info .footer .date{
    font-size: 0.8em;
    color: #666;
}

.propiedad-info .footer .btn a{
   color: var(--color-primary);
   border: 1px solid var(--color-primary);
   text-decoration: none;
   display: inline-block;
   padding: 10px 25px;
   text-transform: uppercase;
   font-weight: 800;
   border-radius: 30px;
}
.propiedad-caracteristicas {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
}
.propiedad-caracteristicas .icono {
    width: 30%;
    display: flex;
    align-items: center;
    font-size: 13px;
}
.propiedad-caracteristicas .icono img{
    width: 20px;
    margin-right: 5px;
}

/* Responsive */

@media(max-width: 1380px) {
    .propiedades-search-tabs {
        width: 85%;
    }
}
@media(max-width: 1110px) {
    .propiedades-search-tabs {
        width: 100%;
    }
    .search-form .search-btn{
        font-size: 16px;
    }
}


@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        margin-left: 0px !important;
        border-top: 1px solid #fff;
    }
    
    .inm-form select,
    .inm-form input {
        width: 100%;
        min-width: 100%;
    }
    
    .inm-btn {
        width: 100%;
    }
    
    .propiedades-grid {
        grid-template-columns: 1fr;
    }
    
    .propiedad-caracteristicas {
        flex-wrap: wrap;
    }
    .propiedad-caracteristicas .icono{
        width: 28%;
    }
    .form-group,
    .form-group.cont-btn,
    .search-form .search-btn{
        width: 100% !important;
    }
  

}