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

.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;
}

.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;
}

.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;
}

/* 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; /* Increase z-index to ensure it's on top */
}

.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;
}

/* filter styles */
.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;
}