/* <fs_premium_only> */
.e-loop-item[data-ear-enable-lightbox="yes"] {
    cursor: pointer;
}

.elementor-lightbox .elementor-swiper-button:focus {
    outline: none;
}

.elementor-lightbox .dialog-lightbox-message {
    width: 100%;
    height: 100%;
}

.elementor-lightbox .ear-lightbox-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elementor-lightbox .ear-lightbox-content {
    display: flex;
    justify-content: center;
    flex-direction: column;

}

.elementor-lightbox .dialog-lightbox-message .ear-lightbox-content .e-loop-item {

    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-lightbox .ear-lightbox-wrapper.ear-lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog-lightbox-message .ear-lightbox-wrapper .elementor-widget {
    height: auto !important;
}

.elementor-lightbox .ear-lightbox-wrapper .ear-lightbox-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-lightbox .ear-lightbox-wrapper .ear-lightbox-slide .e-loop-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-lightbox .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-lightbox .swiper-button-next,
.elementor-lightbox .swiper-button-prev {
    color: #fff;
}

.elementor-lightbox .swiper-pagination {
    color: #fff;
}


/* Hide elements with ear-hide-in-lightbox class when in lightbox */
.elementor-lightbox .ear-hide-in-lightbox {
    display: none !important;
}

/* Hide elements with ear-hide-in-loop class when not in lightbox */
.ear-hide-in-loop:not(.elementor-lightbox .ear-hide-in-loop) {
    display: none !important;
}

/* ear editor lightbox */
.ear-editor-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

.ear-editor-lightbox .swiper-slide {
    background: white;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.ear-editor-lightbox-content {
    position: relative;
}

.ear-editor-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.ear-custom-filter {
    display: flex;
    flex-direction: var(--ear-filter-direction, row);
    white-space: var(--ear-filter-white-space, nowrap);
    gap: var(--ear-filter-gap, 10px);
    justify-content: var(--ear-filter-justify-content, flex-start);
    align-items: var(--ear-filter-align-items, flex-start);
}

.ear-filter-direction-horizontal {
    --ear-filter-direction: row;
    --ear-filter-white-space: nowrap;
}

.ear-filter-direction-vertical {
    --ear-filter-direction: column;
    --ear-filter-white-space: normal;
}

.ear-filter-item {
    cursor: pointer;
}
/* </fs_premium_only> */

.ear-pro-notice {
    margin-top: 20px;
    line-height: 1.5;
    font-size: 12px;
    color: #f3bafd;
}

a.ear-upgrade-link {
    color: #699eff;
}


/* ear switcher control */

.elementor-control-type-earluna_switcher .elementor-switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    height: 20px;
    border-radius: 18px;
}
.elementor-control-type-earluna_switcher .elementor-switch-input {
    display: none;
}
.elementor-control-type-earluna_switcher .elementor-switch-label {
    display: block;
    height: inherit;
    font-size: 10px;
    background: var(--e-a-bg-active-bold);
    border-radius: inherit;

}
.elementor-control-type-earluna_switcher .elementor-switch-label:before, 
.elementor-control-type-earluna_switcher .elementor-switch-label:after {
    position: absolute;
    top: 0;
    width: 50%;
    text-align: center;
    line-height: 20px;
    transition: inherit;
}
.elementor-control-type-earluna_switcher .elementor-switch-label:before {
    content: attr(data-off);
    right: 5px;
    color: var(--e-a-color-txt-muted);
}
.elementor-control-type-earluna_switcher .elementor-switch-label:after {
    content: attr(data-on);
    left: 20px;
    color: var(--e-a-color-txt-muted);
    opacity: 0;
}

.elementor-control-type-earluna_switcher .elementor-switch-input:checked ~ .elementor-switch-label:before {
    opacity: 0;
}
.elementor-control-type-earluna_switcher .elementor-switch-input:checked ~ .elementor-switch-label:after {
    opacity: 1;
}
.elementor-control-type-earluna_switcher .elementor-switch-handle {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 10px;
    transition: left 0.15s ease-out;
}
.elementor-control-type-earluna_switcher .elementor-switch-input:checked ~ .elementor-switch-handle {
    left: 1px;
}

.elementor-lightbox .elementor-swiper-button-prev,
.elementor-lightbox .elementor-swiper-button-next {
    z-index: 1; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
}

.elementor-lightbox .elementor-swiper-button-prev {
    left: 0;
    
}

.elementor-lightbox .elementor-swiper-button-next {
    right: 0;
}