.esp-carrusel.mi-carrusel {
    position: relative;
}

.esp-carrusel__frame {
    position: relative;
}

.esp-carrusel .mySwiperFotos {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.esp-carrusel .mySwiperFotos .swiper-wrapper,
.esp-carrusel .mySwiperFotos .swiper-slide {
    height: 100%;
}

.esp-carrusel .mySwiperFotos .swiper-slide {
    overflow: hidden;
    background-color: #212832;
}

.esp-carrusel .mySwiperFotos .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.esp-carrusel__timer {
    width: 100%;
    height: 3px;
    background: rgba(33, 40, 50, 0.12);
}

.esp-carrusel__timer-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--bs-primary, #0066cc);
    transform-origin: left center;
    will-change: width;
}

.esp-carrusel__caption-zone {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 1.5rem 2rem 3rem;
    color: #fff;
    pointer-events: none;
    background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.4) 100%);
}

.esp-carrusel__caption-text {
    text-transform: none;
    margin-bottom: 0 !important;
    opacity: 1;
    max-height: none;
    overflow: visible;
}

/* Galería vacía — sin paginación ni Swiper */
.esp-carrusel--empty .esp-carrusel__frame {
    position: relative;
}

.esp-carrusel__empty {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(145deg, #eef1f4 0%, #e2e7ec 48%, #d8dee6 100%);
}

.esp-carrusel__empty-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.esp-carrusel__empty-icon {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: rgba(33, 40, 50, 0.18);
}

.esp-carrusel__empty-indicator {
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transform: translateX(-50%);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(33, 40, 50, 0.72);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 8px rgba(33, 40, 50, 0.12);
    pointer-events: none;
}

.esp-carrusel__empty-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(33, 40, 50, 0.28);
    flex-shrink: 0;
}
