.carousel-widget-wrapper-ae01c495 img {
    transition: transform 0.3s ease;
}
.carousel-widget-wrapper-ae01c495 img:hover {
    transform: scale(1.02);
}

/* Lightbox styles */
.lightbox-overlay-ae01c495 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.95);
}

body.admin-bar .lightbox-overlay-ae01c495 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .lightbox-overlay-ae01c495 {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.lightbox-close-ae01c495 {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.2s;
}

.lightbox-close-ae01c495:hover {
    background: rgba(0,0,0,0.8);
}

.lightbox-container-ae01c495 {
    position: relative;
    width: calc(100% - 200px);
    max-width: 1400px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.lightbox-stage-ae01c495 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-slide-ae01c495 {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: none; /* Hide all by default, active slide will be visible */
    width: 100%;
    height: 100%;
}

.lightbox-slide-ae01c495.active {
    display: block;
}

/* Lightbox Navigation */
.lightbox-btn-ae01c495 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 20;
    pointer-events: auto;
}

.lightbox-btn-ae01c495:hover {
    background: rgba(0,0,0,0.8);
}

.lightbox-prev-ae01c495 {
    left: -80px;
}

.lightbox-next-ae01c495 {
    right: -80px;
}

@media (max-width: 900px) {
    .lightbox-container-ae01c495 {
        width: 100%;
        max-width: none;
        height: calc(100% - 100px);
        padding: 0 16px;
        box-sizing: border-box;
    }

    .lightbox-btn-ae01c495 {
        position: fixed;
        top: auto;
        bottom: 24px;
        transform: none;
    }

    .lightbox-prev-ae01c495 {
        left: 20px;
    }

    .lightbox-next-ae01c495 {
        right: 20px;
        left: auto;
    }
}

/* Animations declarations */
@keyframes slide-right-in-ae01c495 {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slide-left-in-ae01c495 {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slide-up-in-ae01c495 {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes slide-down-in-ae01c495 {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Animation classes */
.anim-slide-right-ae01c495 {
    animation: slide-right-in-ae01c495 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.anim-slide-left-ae01c495 {
    animation: slide-left-in-ae01c495 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.anim-slide-up-ae01c495 {
    animation: slide-up-in-ae01c495 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.anim-slide-down-ae01c495 {
    animation: slide-down-in-ae01c495 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
