/* ============================================
   Slider "Últimas propiedades en venta" — index.php
   Los estilos de .property-boxarea vienen de main.css scoped bajo
   .properties-section-area .property-feature-slider (clases añadidas al HTML).
   Este archivo solo añade: sección wrapper, altura de imagen, y nav Owl.
   ============================================ */

.slider-recientes-section {
    background-image: url(/assets-new/img/all-images/bg/bg1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Altura fija para el thumb: en Destacados la da el Swiper, aquí no hay Swiper */
.slider-recientes-section .property-boxarea .img1 {
    height: 220px;
}

.slider-recientes-section .property-boxarea .img1 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Badge de tipo de propiedad: top-right dentro de .img1 (que ya tiene position:relative
   via .properties-section-area .property-feature-slider .property-boxarea .img1 en main.css).
   Se coloca en top-right para no solapar con .category-list que ocupa top-left. */
.slider-recientes-section .ib-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    pointer-events: none;
}

/* El contenedor owl necesita position relative para las flechas absolutas */
.slider-recientes.owl-carousel {
    position: relative;
}

/* Flechas: extraídas hacia los bordes del contenedor */
.slider-recientes .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    margin: 0;
}

.slider-recientes .owl-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #1a1a1a !important;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.slider-recientes .owl-nav .owl-prev {
    position: absolute;
    left: -22px;
}

.slider-recientes .owl-nav .owl-next {
    position: absolute;
    right: -22px;
}

.slider-recientes .owl-nav button:hover {
    background: #F5B91C !important;
    color: #fff !important;
}

/* En mobile las flechas absolutas quedan fuera del viewport: las ocultamos */
@media (max-width: 575px) {
    .slider-recientes .owl-nav {
        display: none;
    }
}
