/* ======================================================
   ARCHIVOS FAVE - custom-property-header.css
   ------------------------------------------------------
   Estilos completos del header personalizado para la
   página de propiedad (buscador inmoproptech + botones).
   ====================================================== */

/* Reset caja para evitar sorpresas */
.custom-property-header,
.custom-property-header * {
    box-sizing: border-box;
}

/* --- Contenedor principal del header --- */
.custom-property-header {
    background-color: #0867FC;
    height: 50px !important;
    padding: 0 !important;
}

/* --- Contenedor interno --- */
.custom-property-header .header-inner-container {
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 12px;
}

/* --- Logo --- */
.custom-property-header .header-left .logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* ======================================================
   NUEVO BUSCADOR (componentizado - inmoproptech-search*)
   ====================================================== */

/* NUEVO BUSCADOR */
.inmoproptech-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px; /* <<< reducido de 700px a 400px */
    margin: 0 auto;
}

.inmoproptech-search-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.inmoproptech-search-input {
    flex: 1;
    border: none;
    height: 40px;
    padding: 0 14px;
    font-size: 0.95rem;
    color: #1f2937;
    outline: none;
    background: transparent;
}

.inmoproptech-search-input::placeholder {
    color: #96a0ab;
}

/* Botón */
.inmoproptech-search-submit {
    width: 44px;
    height: 40px;
    border: none;
    background: #074EBA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.inmoproptech-search-submit:hover {
    background: #053b8e;
}

/* Icono Font Awesome */
.inmoproptech-search-submit i {
    font-size: 1rem;
    color: #fff; /* <<< blanco */
}

/* Asegurar que el componente inmoproptech no sea sobrescrito por reglas globales */
header.custom-property-header .inmoproptech-search,
.custom-property-header .inmoproptech-search {
    max-width: 400px;
}

/* ======================================================
   Botones / navegación en el header (todos mismos colores)
   ====================================================== */

.custom-property-header .header-nav-buttons .nav-btn {
    background-color: #074EBA;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-property-header .header-nav-buttons .nav-btn:hover {
    background-color: #053b8e;
    color: #fff;
}

/* Menu toggle como botón */
.custom-property-header .header-nav-buttons .menu-toggle {
    background-color: #074EBA;
    color: #fff;
    border: none;
    font-size: 1.6rem;
    padding: 0 6px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

.custom-property-header .menu-toggle:hover {
    background-color: #053b8e;
}

/* Enlaces y botones pequeños dentro del header deben mantener legibilidad */
.custom-property-header .header-nav-buttons .nav-btn i {
    font-size: 0.95rem;
}

/* ======================================================
   Ajustes del buscador antiguo (por compatibilidad)
   Si tu plantilla aún usa .search-bar-wrapper/.search-input
   se mantienen estilos aislados para no romper vistas.
   ====================================================== */

header.custom-property-header .search-bar-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    height: 40px !important;
    width: 250px;
    background-color: #fff;
}

header.custom-property-header .search-input {
    border: none !important;
    padding: 0 10px !important;
    flex-grow: 1;
    height: 100% !important;
    font-size: 0.8rem;
    outline: none;
    color: #333;
}

header.custom-property-header .search-button {
    background-color: #074EBA !important;
    color: #fff !important;
    border: none !important;
    height: 100% !important;
    width: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header.custom-property-header .search-button:hover {
    background-color: #053b8e !important;
}

header.custom-property-header .search-button i {
    font-size: 16px !important;
    color: #fff !important;
}

/* ======================================================
   Responsive tweaks
   ====================================================== */
@media (max-width: 1024px) {
    .custom-property-header .header-inner-container {
        padding: 0 20px;
    }
    .inmoproptech-search { max-width: 320px; }
}

@media (max-width: 768px) {
    .custom-property-header { height: auto; padding: 8px 0; }
    .custom-property-header .header-inner-container { flex-wrap: wrap; gap: 10px; padding: 8px 12px; align-items: center; }
    .custom-property-header .header-left, .custom-property-header .header-right { flex-basis: 100%; display: flex; justify-content: center; }
    .custom-property-header .header-center { order: 3; width: 100%; margin-top: 8px; }
    .inmoproptech-search { order: 3; width: 100%; max-width: 100%; padding: 0 12px; }
    .inmoproptech-search-inner { height: 36px; border-radius: 6px; }
    .inmoproptech-search-submit { width: 44px; height: 36px; }
    header.custom-property-header .search-bar-wrapper { max-width: 100%; width: calc(100% - 40px); margin: 0 20px; }
}

/* ======================================================
   Fin de archivo
   ====================================================== */










/* --- Botones de Navegación --- */
.custom-property-header .header-nav-buttons .nav-btn {
    background-color: #074EBA;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.custom-property-header .header-nav-buttons .nav-btn:hover {
    background-color: #053b8e;
    color: #fff;
}

/* Botón Menú */
.custom-property-header .header-nav-buttons .menu-toggle {
    background-color: #074EBA;
    color: #fff;
    border: none;
    font-size: 1.8rem;
    padding: 0;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-property-header .menu-toggle:hover {
    background-color: #053b8e;
}



/* --- Responsivo (móviles <768px) --- */
@media (max-width: 768px) {
    .custom-property-header .header-inner-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .custom-property-header .header-left,
    .custom-property-header .header-right {
        flex-basis: 100%;
        justify-content: center;
        margin-bottom: 0;
    }

    .custom-property-header .header-center {
        order: 3;
        margin-top: 10px;
        flex-basis: 100%;
    }

    .custom-property-header .header-nav-buttons {
        justify-content: center;
        width: 100%;
    }

    .custom-property-header .search-bar-wrapper {
        max-width: 100%;
    }

    .custom-property-header .header-left .logo img {
        height: 35px;
    }

    .custom-property-header .header-nav-buttons .nav-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .custom-property-header .header-nav-buttons .menu-toggle {
        font-size: 1.3rem;
        height: 35px;
        width: 35px;
    }
    
    
    
    
    
    
    
    
    
    
   .custom-property-header .header-nav-buttons a:nth-of-type(1) {
    background-color: #0367FD;
    color: #fff;
    border: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-property-header .header-nav-buttons a:nth-of-type(1):hover {
    background-color: #053b8e;
}






.custom-property-header .header-nav-buttons .btn-whatsapp {
    background-color: #0367FD;
    color: #fff;
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.custom-property-header .header-nav-buttons .btn-whatsapp:hover {
    background-color: #053b8e;
}









    
    
    
    
}
