/* Carousel Styles for ACUARIO */

/* Estilos específicos para carruseles */
.owl-carousel {
    position: relative; 
}

.owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-item {
    display: flex;
    align-items: stretch;
}

/* Estilos para las tarjetas de productos en carrusel */
.owl-carousel .item .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Contenedor de imagen */
.owl-carousel .item .product-card .image-container {
    height: calc(100% - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.owl-carousel .item .product-card .image-container img {
    width: 125%;
    max-width: 125%;
    height: auto;
    object-fit: contain;
    transform: scale(1.25);
    transition: transform 0.3s ease;
}

.owl-carousel .item .product-card:hover .image-container img {
    transform: scale(1.3);
}

/* Barra inferior de información */
.owl-carousel .item .product-card .info-bar {
    background: #A7B69A;
    color: black;
    text-align: center;
    padding: 15px 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    border-radius: 0 0 30px 30px;
}

.owl-carousel .item .product-card .info-bar .product-name {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owl-carousel .item .product-card .info-bar .product-price {
    font-weight: 500;
    font-size: 22px;
}

.owl-carousel .item .product-card .info-bar .out-of-stock {
    margin-top: 8px;
}

.owl-carousel .item .product-card .info-bar .out-of-stock span {
    background: #dc3545;
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 13px;
}

/* Navegación del carrusel */
.owl-nav {
    display: flex !important;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    justify-content: space-between;
    pointer-events: auto !important;
    z-index: 10;
    transform: translateY(-50%);
}

.owl-prev,
.owl-next {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #4A86AF !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    border: 2px solid #4A86AF !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.owl-prev:hover,
.owl-next:hover {
    background: #4A86AF !important;
    color: white !important;
    transform: scale(1.1);
}

/* Indicadores de puntos */
.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s ease;
}

.owl-dot.active {
    background: #4A86AF;
}

/* Responsive design - Igual que Los Más Vendidos */
@media (max-width: 768.98px) {
    /* Navegación del carrusel */
    .owl-nav {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        z-index: 10;
        margin: 0;
        padding: 0 10px;
        width: auto;
        height: auto;
        left: auto;
        justify-content: center;
    }
    
    .owl-prev,
    .owl-next {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
        margin: 5px 0 !important;
    }
    
    .owl-prev {
        margin-bottom: 15px !important;
    }
    
    .owl-next {
        margin-top: 15px !important;
    }
    
    /* Estilos de carrusel igual que Los Más Vendidos */
    .owl-carousel .owl-item {
        padding: 0 5px;
    }
    
    .owl-carousel .owl-stage {
        padding: 10px 0;
    }
    
    .owl-carousel .owl-item {
        min-width: 280px !important;
        margin-right: 10px;
    }
    
    .owl-carousel .product-card {
        width: 100%;
        margin: 0 auto;
        max-width: 280px;
    }
    
    .owl-carousel {
        padding: 0 15px;
    }
    
    .owl-carousel .owl-stage-outer {
        padding: 10px 0 30px;
    }
    
         /* Imágenes del mismo tamaño que Los Más Vendidos */
     .owl-carousel .item .product-card img,
     .carousel-product-image {
         width: 125% !important;
         max-width: 125% !important;
     }
    
         /* Hover effect igual que Los Más Vendidos */
     .owl-carousel .item .product-card:hover img,
     .owl-carousel .item .product-card:hover .carousel-product-image {
         transform: scale(1.3);
     }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.owl-carousel .item {
    animation: fadeIn 0.5s ease-out;
} 