/* Slider Promocional Full Responsive - Imágenes 1920x720px */
#promoSlider {
    position: relative;
    width: 100%;
    background: #f8f9fa;
    overflow: visible;
}

/* Contenedor principal adaptable */
.simple-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    line-height: 0;
    overflow: visible;
}

/* Wrapper de slides - sin padding trick, altura automática */
.simple-slider .slides {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    aspect-ratio: 1920 / 720;
}

/* Cada slide individual */
.simple-slider .slide {
    display: none;
    width: 100%;
    line-height: 0;
    position: relative;
}

.simple-slider .slide.active {
    display: block;
    position: relative;
    z-index: 2;
}

/* Estados de transición - ambos slides absolute durante animación */
.simple-slider .slide.transitioning {
    display: block !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Slide saliente durante transición */
.simple-slider .slide.slide-out-next,
.simple-slider .slide.slide-out-prev {
    z-index: 1;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* Animaciones de entrada */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Animaciones de salida */
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

/* Clases de animación */
.simple-slider .slide.slide-in-next {
    animation: slideInRight 0.6s ease-out forwards;
}

.simple-slider .slide.slide-in-prev {
    animation: slideInLeft 0.6s ease-out forwards;
}

.simple-slider .slide.slide-out-next {
    animation: slideOutLeft 0.6s ease-out forwards;
    z-index: 1;
}

.simple-slider .slide.slide-out-prev {
    animation: slideOutRight 0.6s ease-out forwards;
    z-index: 1;
}

/* Imágenes dentro del slide */
.simple-slider .slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    transform: none !important;
}

/* Enlaces dentro de slides */
.simple-slider .slide a {
    display: block;
    width: 100%;
    line-height: 0;
}

.simple-slider .slide a img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
}

/* Controles de navegación */
.simple-slider .controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 1rem;
    z-index: 10;
}

.simple-slider .controls button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0);
    border: 0;
    color: #f8f9fa;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.simple-slider .controls button:active {
    transform: scale(0.95);
    color: #f8f9fa;
    background: #ff8c3a;
}

.row-equal-height {
    align-items: stretch;
}
.row-equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.row-equal-height > [class*='col-'] .card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.row-equal-height .simple-slider {
    padding-top: 0 !important;
    height: 100% !important;
    min-height: 120px;
}

@media (max-width: 991px) {
    .simple-slider {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .simple-slider .controls button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .simple-slider .controls button {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}
