.carrusel-visor-wrapper {
    position: relative;
    width: 100%;
}

.foto-principal-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Oculta barra en Firefox */
}

.foto-principal-slider::-webkit-scrollbar {
    display: none; /* Oculta barra en Chrome/Safari */
}

.foto-slide-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flechas de navegación para PC Web */
.flecha-navegacion {
    display: none; /* Por defecto ocultas en pantallas táctiles */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: #0f172a;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 10;
}

.flecha-izq { left: 16px; }
.flecha-der { right: 16px; }

.flecha-navegacion:hover {
    background-color: #ffffff;
    scale: 1.05;
}

/* Carrusel de Miniaturas Inferior */
.carrusel-miniaturas {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.miniatura-item-link {
    flex: 0 0 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: opacity 0.2s;
}

.miniatura-item-link:hover {
    opacity: 0.8;
}

.foto-miniatura {
    width: 100%;
    height: 100%;
    object-fit: cover;
}