/* Kionera Elegant Slider Styles */

.kionera-elegant-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px; /* Espaço para as setas */
    overflow: hidden;
}

.kionera-elegant-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: visible; /* Permite ver a pré-visualização */
    border-radius: 16px;
}

.kionera-elegant-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kionera-elegant-slider-slide {
    flex: 0 0 90%; /* Slide principal ocupa 90% */
    height: 100%;
    position: relative;
    margin-right: 30px; /* Espaço entre slides */
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); */
}

.kionera-elegant-slider-slide:last-child {
    margin-right: 0;
}

.kionera-elegant-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.kionera-elegant-navigation {
    position: absolute;
    top: 93%;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
    z-index: 20;
}

.kionera-elegant-arrow {
    width: 44px;
    height: 44px;
    /* background: rgba(255, 255, 255, 0.9); */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); */
}

.kionera-elegant-arrow:hover {
    background: rgba(255, 255, 255, 1);
    filter: brightness(2);
}

.kionera-elegant-arrow svg {
    width: 20px;
    height: 20px;
}

.kionera-elegant-arrow svg path {
    stroke: #333;
}

.kionera-elegant-next{
    position: relative;
    left: -20px;
    filter: brightness(2);
}

/* Dots Navigation */
.kionera-elegant-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.kionera-elegant-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.kionera-elegant-dot.active,
.kionera-elegant-dot:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kionera-elegant-slider {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .kionera-elegant-slider-container {
        height: 280px;
        border-radius: 12px;
    }
    
    .kionera-elegant-slider-slide {
        flex: 0 0 70%; /* Menor em tablet para mostrar mais da próxima */
        margin-right: 20px;
    }
    
    .kionera-elegant-navigation {
        left: 5px;
        right: 5px;
    }
    
    .kionera-elegant-arrow {
        width: 40px;
        height: 40px;
    }
    
    .kionera-elegant-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .kionera-elegant-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .kionera-elegant-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .kionera-elegant-slider {
        padding: 0 15px;
    }
    
    .kionera-elegant-slider-container {
        height: 240px;
        border-radius: 8px;
    }
    
    .kionera-elegant-slider-slide {
        flex: 0 0 90%; /* Ainda menor no mobile */
        margin-right: 15px;
    }
    
    .kionera-elegant-navigation {
        left: 0;
        right: 0;
    }
    
    .kionera-elegant-arrow {
        width: 36px;
        height: 36px;
    }
    
    .kionera-elegant-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .kionera-elegant-dots {
        bottom: 12px;
        gap: 6px;
    }
    
    .kionera-elegant-dot {
        width: 8px;
        height: 8px;
    }
}

/* Animation Classes */
.kionera-elegant-slider-slide.fade-in {
    opacity: 1;
}

.kionera-elegant-slider-slide.fade-out {
    opacity: 0;
}

/* Loading State */
.kionera-elegant-slider.loading .kionera-elegant-slider-slide {
    opacity: 0;
}

.kionera-elegant-slider.loading .kionera-elegant-slider-slide:first-child {
    opacity: 1;
}

/* Initial state - track starts at position 0 */
.kionera-elegant-slider-track {
    transform: translateX(0%);
}

/* Ensure arrows are always visible */
.kionera-elegant-arrow {
    opacity: 1;
    visibility: visible;
}

/* Placeholder styles */
.kionera-elegant-slider-placeholder {
    height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #666;
    font-size: 16px;
    text-align: center;
}

/* Accessibility */
.kionera-elegant-arrow:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.kionera-elegant-dot:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
.kionera-elegant-slider * {
    box-sizing: border-box;
}

/* Ensure images don't exceed container bounds */
.kionera-elegant-slider-slide img {
    min-width: 350px;
    min-height: 340px;
    max-width: 100%;
    height: auto;
}

/* Prevent text selection on navigation elements */
.kionera-elegant-arrow,
.kionera-elegant-dot {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}