/* Estilos para el carousel y paginación manual */

/* Configuración básica */
.aspect-3\/2 {
    aspect-ratio: 3/2;
}

.property-images {
    position: relative;
    padding-bottom: 40px;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    /* overflow: hidden; */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Paginación manual simplificada */
.manual-pagination {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 6px 0;
}

.manual-pagination .dot {
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    border: none;
    border-radius: 50%;
    margin: 0 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.manual-pagination .dot.active {
    background-color: #3b82f6;
    transform: scale(1.1);
}

.manual-pagination .dot:hover {
    background-color: #9ca3af;
}

/* Flechas minimalistas blancas */
.property-prev,
.property-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.property-prev:hover,
.property-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.property-prev {
    left: 15px;
}

.property-next {
    right: 15px;
}

/* Estilos específicos para el slider de propiedades */
.swiper-property .property-prev,
.swiper-property .property-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.swiper-property .property-prev:hover,
.swiper-property .property-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.swiper-property .property-prev {
    left: 15px;
}

.swiper-property .property-next {
    right: 15px;
}

/* Flechas con especificidad alta para el slider de propiedades */
.property-images .property-prev,
.property-images .property-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    font-size: 24px !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.property-images .property-prev:hover,
.property-images .property-next:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.property-images .property-prev {
    left: 15px !important;
}

.property-images .property-next {
    right: 15px !important;
}

/* Paginación específica para el slider de propiedades */
.manual-pagination-property {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    padding: 6px 0;
    z-index: 10;
}

.manual-pagination-property .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin: 0 6px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.manual-pagination-property .dot.active {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.manual-pagination-property .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Estilos globales para asegurar que se apliquen */
.manual-pagination .dot {
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    border: none;
    border-radius: 50%;
    margin: 0 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.manual-pagination .dot.active {
    background-color: #3b82f6;
    transform: scale(1.1);
}

.manual-pagination .dot:hover {
    background-color: #9ca3af;
}

/* Específicos para el slider de propiedades con mayor especificidad */
.property-images .manual-pagination-property .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.property-images .manual-pagination-property .dot.active {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: scale(1.2) !important;
}

.property-images .manual-pagination-property .dot:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1) !important;
}

/* Contador de slides */
.slide-counter,
.slide-counter-property,
[class*="slide-counter-"] {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .property-images {
        padding-bottom: 30px;
    }
    
    .manual-pagination .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    .property-prev,
    .property-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .property-prev {
        left: 10px;
    }
    
    .property-next {
        right: 10px;
    }
}