
.editor-only {
    display: none !important;
}

.hover-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(102, 16, 242, 0.1) !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.carousel-image-wrapper:hover .hover-overlay {
    opacity: 1 !important;
}

.carousel-image-wrapper {
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

.carousel-image-wrapper:hover {
    transform: scale(1.02) !important;
}


/* Clean carousel controls for frontend */
.carousel-control-prev,
.carousel-control-next {
    width: 8% !important;
    opacity: 0.6 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.9 !important;
}

/* Clean indicators for frontend */
.carousel-indicators {
    bottom: 130px !important;
    padding: 8px 16px !important;
}

.carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
}

.carousel-indicators button.active {
    width: 10px !important;
    height: 10px !important;
}

/* Ensure images display properly */
.carousel-image {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    display: block !important;
}



.carousel-control-prev,
.carousel-control-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 0 !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #fff !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

.carousel-control-prev:active,
.carousel-control-next:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.carousel-control-prev {
    left: 20px !important;
}

.carousel-control-next {
    right: 20px !important;
}

/* Control Icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    filter: none !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Alternative: Always Visible Buttons */
.carousel-control-prev.always-visible,
.carousel-control-next.always-visible {
    opacity: 0.7 !important;
}

.carousel-control-prev.always-visible:hover,
.carousel-control-next.always-visible:hover {
    opacity: 1 !important;
}

/* ==========================================
   RESPONSIVE DESIGN FOR CONTROLS
   ========================================== */

/* Mobile Devices */
@media (max-width: 767px) {
    
    
    .carousel-item .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    /* Hide all images except first */
    .carousel-item .row > div:nth-child(n+2) {
        display: none !important;
    }

    /* Force first image full width */
    .carousel-item .row > div:first-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
    }
    
    .carousel-control-prev {
        left: 10px !important;
    }
    
    .carousel-control-next {
        right: 10px !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Always visible on mobile */
    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0.8 !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px !important;
        height: 45px !important;
    }
    
    .carousel-control-prev {
        left: 15px !important;
    }
    
    .carousel-control-next {
        right: 15px !important;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .carousel-image {
        height: 300px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 9% !important;
    }
}
