/* Estilos específicos para arreglar los botones del carrusel */

/* Resetear estilos de los botones de navegación */
.latest-product .owl-nav div,
.related-products-wrapper .owl-nav div,
.owl-carousel .owl-nav div {
    background: #5a88ca !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    box-shadow: 0 4px 15px rgba(90, 136, 202, 0.3) !important;
    text-align: center !important;
    line-height: 1 !important;
    outline: none !important;
    text-decoration: none !important;
}

.latest-product .owl-nav div:hover,
.related-products-wrapper .owl-nav div:hover,
.owl-carousel .owl-nav div:hover {
    background: #4a78ba !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(90, 136, 202, 0.4) !important;
    color: #fff !important;
}

/* Asegurar que los iconos FontAwesome se vean */
.owl-carousel .owl-nav div i {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar texto predeterminado de Owl Carousel */
.owl-carousel .owl-nav div {
    font-size: 0 !important;
}

/* Clase para screen readers */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Estados de focus para accesibilidad */
.owl-carousel .owl-nav div:focus {
    outline: 2px solid #fff !important;
    outline-offset: 2px !important;
}

/* Responsive para botones en móviles */
@media (max-width: 768px) {
    .latest-product .owl-nav div,
    .related-products-wrapper .owl-nav div,
    .owl-carousel .owl-nav div {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .owl-carousel .owl-nav div i {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .latest-product .owl-nav div,
    .related-products-wrapper .owl-nav div,
    .owl-carousel .owl-nav div {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
    
    .owl-carousel .owl-nav div i {
        font-size: 14px !important;
    }
}
