:root {
    --thumb-width: 80px;
    --lg-sticky-offset: 120px;
}

.elementor-widget-luxury_gallery_20247512,
.elementor-widget-luxury_gallery_20247512 > .elementor-widget-container,
.lg-gallery-wrapper-scroll-20247512 {
    overflow: visible;
}

.lg-gallery-wrapper-scroll-20247512 {
    position: relative;
    width: 100%;
}

.lg-gallery-container-20247512 {
    display: flex;
    gap: 15px;
    position: sticky;
    top: var(--lg-sticky-offset, 120px);
    align-self: flex-start;
    width: 100%;
    z-index: 10;
}

[dir="rtl"] .lg-gallery-container-20247512 {
    flex-direction: row-reverse;
}

.lg-thumbnails-wrapper-20247512 {
    width: var(--thumb-width);
    flex-shrink: 0;
    position: relative;
}

.lg-thumbnails-inner-20247512 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lg-thumb-20247512 {
    width: 100%;
    aspect-ratio: 4 / 5;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: block;
}

.lg-thumb-20247512.active,
.lg-thumb-20247512:hover,
.lg-thumb-20247512:focus-visible {
    opacity: 1;
}

.lg-thumb-20247512:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.lg-thumb-20247512 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lg-main-wrapper-20247512 {
    flex-grow: 1;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    cursor: zoom-in;
    background: #f5f5f5;
}

.lg-main-images-20247512 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.lg-main-img-item-20247512 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

.lg-main-img-item-20247512.active {
    visibility: visible;
    z-index: 2;
}

.lg-main-img-item-20247512 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lg-zoom-btn-20247512 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    border: none;
    color: #000;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

[dir="rtl"] .lg-zoom-btn-20247512 {
    left: auto;
    right: 20px;
}

.lg-zoom-btn-20247512:hover,
.lg-zoom-btn-20247512:focus-visible {
    background-color: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .lg-gallery-wrapper-scroll-20247512 {
        height: auto !important;
        min-height: 0 !important;
    }

    .lg-gallery-container-20247512 {
        flex-direction: column-reverse;
        position: relative;
        top: 0 !important;
    }

    [dir="rtl"] .lg-gallery-container-20247512 {
        flex-direction: column-reverse;
    }

    .lg-thumbnails-wrapper-20247512 {
        width: 100%;
    }

    .lg-thumbnails-inner-20247512 {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        gap: 15px;
    }

    .lg-thumb-20247512 {
        width: 80px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

.lg-lightbox-20247512 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lg-lightbox-20247512.is-open {
    visibility: visible;
    opacity: 1;
}

.lg-lightbox-overlay-20247512 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.lg-lightbox-content-20247512 {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2;
}

.lg-lightbox-content-20247512 img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lg-lightbox-close-20247512,
.lg-lightbox-prev-20247512,
.lg-lightbox-next-20247512 {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 3;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 0;
}

.lg-lightbox-close-20247512:hover,
.lg-lightbox-prev-20247512:hover,
.lg-lightbox-next-20247512:hover,
.lg-lightbox-close-20247512:focus-visible,
.lg-lightbox-prev-20247512:focus-visible,
.lg-lightbox-next-20247512:focus-visible {
    opacity: 1;
}

.lg-lightbox-close-20247512 {
    top: 20px;
    right: 20px;
}

.lg-lightbox-prev-20247512 {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lg-lightbox-next-20247512 {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}