/* Uniderma Catalog Slider - Full Coverage */
.uniderma-catalog-slider-step1 {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1/1;
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    /* Bordes redondeados */
}

.uniderma-images-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.uniderma-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.uniderma-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.uniderma-catalog-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Uniderma Catalog Slider - Controles de Navegación Full Height */
.uniderma-slider-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 45px;
    height: 100%;
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 !important;
}

.uniderma-slider-btn:hover {
    color: #283F80;
    /* El ícono se vuelve azul al hacer hover */
    background: transparent;
}

.uniderma-slider-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s;
}

.uniderma-slider-btn:hover svg {
    transform: scale(1.1);
}

.uniderma-slider-btn.prev {
    left: 0;
}

.uniderma-slider-btn.next {
    right: 0;
}

/* Puntos de Navegación (Dots) con Sombra para contraste */
.uniderma-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uniderma-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    /* Sombra añadida para fotos muy claras */
}

.uniderma-dot.is-selected {
    background: #4790d0;
    border-color: #4790d0;
    transform: scale(1.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    /* Sombra acentuada en activo */
}

/* Mostrar controles al hacer hover al carrusel */
.uniderma-catalog-slider-step1:hover .uniderma-slider-btn,
.uniderma-catalog-slider-step1:hover .uniderma-slider-dots {
    opacity: 0.9;
}

.uniderma-slider-btn:hover {
    opacity: 1 !important;
}