/*INMUEBLES RECIENTES*/
.inmopro-recientes {
    padding: 0 20px;
}

.inmopro-titulo {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 4px solid #000;
    display: inline-block;
}

.inmopro-slide a {
    text-decoration: none !important;
}

.inmopro-slide a * {
    text-decoration: none !important;
}

.inmopro-slide a:hover {
    text-decoration: none;
}

.inmopro-info h3,
.inmopro-info p,
.inmopro-info strong {
    text-decoration: none !important;
}


.inmopro-swiper .swiper-wrapper {
    padding-bottom: 40px;
}

.inmopro-slide {
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.inmopro-slide:hover {
    transform: translateY(-3px);
}

.inmopro-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.inmopro-info {
    padding: 20px;
    text-align: left;
    font-family: sans-serif;
}

.inmopro-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111;
}

.inmopro-slide a.inmopro-info h3 {
    text-decoration: none;
}

.inmopro-info p {
    font-size: 13px;
    color: #666;
    margin: 3px 0;
}

.inmopro-info strong {
    font-size: 15px;
    color: #000;
}

/* Swiper pagination tipo línea */
.swiper-pagination-bullets {
    text-align: center;
    margin-top: 10px;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 4px;
    background: #999;
    border-radius: 2px;
    opacity: 0.4;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #000;
    opacity: 1;
    width: 24px;
}
/*FIN INMUEBLES RECIENTES*/


/*VENTA - Grid de inmuebles*/
.inmopro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas en desktop */
    gap: 40px;
    padding: 60px 40px;
}

@media (max-width: 1024px) {
    .inmopro-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media (max-width: 640px) {
    .inmopro-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}

/* Tarjeta de inmueble */
.inmopro-slide {
    overflow: hidden;
    transition: transform 0.2s ease;
}

.inmopro-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.inmopro-info {
    padding: 20px;
}

.inmopro-info h3 {
    font-size: 22px;
    margin: 0 0 12px;
    text-decoration: none;
}

.inmopro-info p {
    font-size: 15px;
    margin: 4px 0;
    color: #555;
}

/*single inmueble*/
.inmopro-single-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 40px;
}

.inmopro-single-left {
    flex: 2;
    min-width: 0;
}

.inmopro-single-right {
    flex: 1;
    min-width: 280px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.inmopro-gallery {
    width: 100%;
    margin-bottom: 30px;
}

.inmopro-gallery .swiper-slide img {
    width: 100%;
    border-radius: 10px;
}

/* Galería del inmueble (detalle) */
.inmopro-gallery.swiper {
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.inmopro-gallery .swiper-wrapper {
    display: flex;
}

.inmopro-gallery .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.inmopro-gallery .swiper-pagination {
    margin-top: 10px;
    text-align: center;
    position: relative;
}

.inmopro-gallery .swiper-pagination-bullet {
    background-color: #999;
    opacity: 1;
    margin: 0 4px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    transition: background-color 0.3s ease;
}

.inmopro-gallery .swiper-pagination-bullet-active {
    background-color: #000;
}


/* CONTENEDOR GENERAL DE LA FICHA */
.inmopro-single-container {
    max-width: 85%;
    margin: 60px auto;
    padding: 0 20px;
}

/* MIGAS DE PAN */
.inmopro-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #777;
}
.inmopro-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}
.inmopro-breadcrumb a:hover {
    text-decoration: underline;
}

/* DISTRIBUCIÓN DE COLUMNAS */
.inmopro-single-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* COLUMNA IZQUIERDA */
.inmopro-left h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.inmopro-direccion {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.inmopro-precio {
    font-size: 28px;
    color: #1e73be;
    margin-bottom: 20px;
}

/* DATOS EXTRA */
.inmopro-datos {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.inmopro-datos li {
    margin-bottom: 6px;
    font-size: 15px;
}

/* DESCRIPCIÓN */
.inmopro-descripcion {
    margin: 30px 0;
    line-height: 1.7;
    color: #444;
}

/* AMENITIES */
.inmopro-amenities {
    margin: 30px 0;
}
.inmopro-amenities h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.inmopro-amenities ul {
    padding-left: 20px;
    list-style: disc;
}
.inmopro-amenities li {
    margin-bottom: 6px;
}

/* COLUMNA DERECHA */
.inmopro-right {
    padding: 30px 25px;
}

.inmopro-contact-form h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
.inmopro-contact-form input, .inmopro-contact-form textarea {
    border: 1px solid #000 !important;
}

/*fin single inmueble*/


/* --- CABECERA LANDING (como página Venta) --- */
.inmopro-top-hero {
    background: #f9f9f9;
    padding: 80px 40px 30px;
    border-top: 140px solid #000;
    border-bottom: 1px solid #000;
}

.inmopro-top-hero-inner {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.inmopro-top-izquierda {
    flex: 1;
    min-width: 300px;
}

.inmopro-top-izquierda h1, .inmopro-left h2 {
    line-height: 83px !important;
    font-size: 78px !important;
}

.inmopro-top-breadcrumbs {
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 15px;
}

.inmopro-top-izquierda h1 {
    font-size: 48px;
    color: #0d1216;
    margin: 0;
}

.inmopro-top-derecha {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
}

.inmopro-top-box {
    padding: 24px;
}

.inmopro-top-box span {
    font-size: 22px;
    background: #000;
    color: #fff;
    padding: 7px 17px 8px 17px;
}

.inmopro-top-box p {
    font-size: 14px;
    line-height: 2.2;
    margin: 18px 0px 20px 0px;
}

/* --- DOS COLUMNAS DETALLE INMUEBLE --- */
.inmopro-single-wrap {
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
}

.inmopro-left {
    flex: 2;
    min-width: 0;
}

.inmopro-right {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 40px;
}

@media (max-width: 768px) {
    .inmopro-single-wrap {
        flex-direction: row;
    }

    .inmopro-left,
    .inmopro-right {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 0; /* Opcional: quitar padding lateral */
    }

    .inmopro-right {
        position: relative;
        top: auto;
        margin-top: 40px;
    }
}



/* Filtro de inmuebles - estilo profesional */
.inmopro-filtro-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    max-width: 100%;
    margin-bottom: 40px;
}

.inmopro-filtro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.inmopro-filtro-form select,
.inmopro-filtro-form input[type="text"],
.inmopro-filtro-form input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out;
    box-sizing: border-box;
}

.inmopro-filtro-form select:focus,
.inmopro-filtro-form input:focus {
    border-color: #2c3e50;
    outline: none;
}

.inmopro-filtro-form button[type="submit"] {
    background-color: #374034;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s ease;
    width: 100%;
}

/* Hover del botón */
.inmopro-filtro-form button[type="submit"]:hover {
    background-color: #1f2a1e;
}

/* Responsive tablet */
@media (max-width: 1024px) {
    .inmopro-filtro-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Responsive móvil */
@media (max-width: 600px) {
    .inmopro-filtro-grid {
        grid-template-columns: 1fr !important;
    }

    .inmopro-filtro-form {
        padding: 20px;
    }

    .inmopro-filtro-form button[type="submit"] {
        margin-top: 10px;
    }
}

