.ficha-carrusel {
    height: clamp(380px, 68vh, 680px);
    width: 100%;
}
.ficha-carrusel .card-photos {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
}
.ficha-carrusel .card-photos::-webkit-scrollbar { display: none; }
.ficha-carrusel .card-photo {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}
.ficha-carrusel .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.ficha-sin-foto {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ficha-carrusel .card-swipe-hint {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 30;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
}
.ficha-carrusel .card-nav {
    display: none;
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 2.5rem;
    height: 2.5rem;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}
.ficha-carrusel .card-nav-prev { left: 0.75rem; }
.ficha-carrusel .card-nav-next { right: 0.75rem; }
@media (hover: hover) and (pointer: fine) {
    .ficha-carrusel .card-swipe-hint { display: none; }
    .ficha-carrusel:hover .card-nav,
    .ficha-carrusel:focus-within .card-nav { display: flex; }
}
@media (hover: none), (pointer: coarse) {
    .ficha-carrusel .card-nav { display: flex; }
}
.ficha-contador {
    position: absolute;
    top: 1rem;
    left: 50%;
    z-index: 30;
    transform: translateX(-50%);
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    pointer-events: none;
}
.ficha-puntos {
    position: absolute;
    left: 50%;
    bottom: 5.25rem;
    z-index: 30;
    display: flex;
    gap: 0.4rem;
    transform: translateX(-50%);
}
.ficha-puntos button {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
}
.ficha-puntos button[aria-current="true"] {
    background: #fff;
}
.ficha-mini {
    position: relative;
}
.ficha-mini button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.ficha-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ficha-mini[aria-current="true"] {
    outline: 2px solid #ff0000;
    outline-offset: -2px;
}
.ficha-zoom {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    z-index: 2;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}
@media (min-width: 1024px) {
    .ficha-media {
        position: sticky;
        top: 105px;
        align-self: start;
        max-height: calc(100vh - 105px - 12px);
        overflow-y: auto;
    }
}
@media (max-width: 767px) {
    .ficha-pagina {
        padding-bottom: 7rem;
    }
}
