/* Hyva-compatible flexslider styles */
.hyva-slider {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hyva-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hyva-slider-slide {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
    position: relative;
}

.hyva-slider-fade {
    position: relative;
}

.hyva-slider-fade .hyva-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hyva-slider-fade .hyva-slider-slide.active {
    opacity: 1;
}

.hyva-slider-fade .hyva-slider-slide:first-child {
    position: relative;
}

.hyva-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.hyva-slider-control {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.hyva-slider-control:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hyva-slider-control svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #333;
}

.hyva-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.hyva-slider-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.hyva-slider-indicator.active {
    background: #e26703;
}

.hyva-slider-thumbnail-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 10;
}

.hyva-slider-thumbnail {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hyva-slider-thumbnail.active {
    opacity: 1;
    border-color: #e26703;
}

.hyva-slider-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.hyva-slider-slide img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
}

.hyva-slider-slide a {
    display: block;
    width: 100%;
}

.bannerslider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    z-index: 5;
}

.magestore-bannerslider-title {
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    color: #e26703;
    margin-bottom: 0.5rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

/* Carousel navigation styles for Style 3 */
.hyva-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 10;
}

.hyva-carousel-item {
    flex-shrink: 0;
    width: 13rem;
    height: 8rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hyva-carousel-item.active {
    opacity: 1;
    border-color: #e26703;
}

.hyva-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

/* Full-width container */
.magestore-bannerslider-standard {
    width: 100%;
    position: relative;
}

.magestore-bannerslide-flex-slider {
    margin: 0 !important;
    margin-bottom: 40px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hyva-slider-controls {
        padding: 0 1rem;
    }
    
    .hyva-slider-control {
        padding: 0.5rem;
    }
    
    .hyva-slider-control svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .hyva-slider-slide img {
        min-height: 200px;
    }
} 