.abeec-gallery-section {
    --min-height: 0px !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    background: transparent !important;
    background-image: none !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.elementor-654 .elementor-element.elementor-element-bb797ba.abeec-gallery-section,
.elementor-654 .elementor-element.elementor-element-ec0ff1e.abeec-gallery-section {
    background: transparent !important;
    background-image: none !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.abeec-section-title {
    color: #3d1052;
    font-size: 45px;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 12px;
    text-align: center;
}

.abeec-gallery {
    --abeec-visible: 3;
    --abeec-purple: #3d1052;
    --abeec-blue: #97d1dc;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 12px 18px;
    position: relative;
    width: 100%;
}

.abeec-gallery__viewport {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.abeec-gallery__track {
    display: flex;
    gap: 10px;
    transform: translate3d(0, 0, 0);
    transition: transform .45s ease;
    will-change: transform;
}

.abeec-gallery__slide {
    aspect-ratio: 4 / 3;
    align-items: center;
    display: flex;
    flex: 0 0 calc((100% - (var(--abeec-visible) - 1) * 10px) / var(--abeec-visible));
    justify-content: center;
    margin: 0;
    overflow: hidden;
}

.abeec-gallery__image-link {
    appearance: none;
    align-items: center;
    background: transparent;
    border: 0;
    cursor: zoom-in;
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.abeec-gallery__image-link:focus-visible {
    outline: 3px solid #97d1dc;
    outline-offset: -3px;
}

.abeec-gallery__slide img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.abeec-gallery__control {
    align-items: center;
    background: rgba(61, 16, 82, .78);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 25px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
    width: 42px;
    z-index: 2;
}

.abeec-gallery__control:hover,
.abeec-gallery__control:focus-visible {
    background: var(--abeec-purple);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.abeec-gallery__control:active {
    transform: translateY(-50%) scale(.95);
}

.abeec-gallery__control--prev {
    left: 24px;
}

.abeec-gallery__control--next {
    right: 24px;
}

.abeec-gallery__dots {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.abeec-gallery__dot {
    background: #d8c9dc;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 10px;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
    width: 10px;
}

.abeec-gallery__dot[aria-selected="true"] {
    background: var(--abeec-purple);
    transform: scale(1.3);
}

.abeec-gallery__dot:focus-visible {
    outline: 2px solid var(--abeec-blue);
    outline-offset: 3px;
}

.abeec-lightbox[hidden] {
    display: none;
}

.abeec-lightbox {
    align-items: center;
    background: rgba(20, 11, 25, .9);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 99999;
}

body.abeec-lightbox-open {
    overflow: hidden;
}

.abeec-lightbox__image {
    max-height: 90vh;
    max-width: min(94vw, 1400px);
    object-fit: contain;
}

.abeec-lightbox__close,
.abeec-lightbox__control {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 2;
}

.abeec-lightbox__close {
    font-size: 28px;
    height: 42px;
    padding: 0 0 4px;
    right: 22px;
    top: 18px;
    width: 42px;
}

.abeec-lightbox__control {
    font-size: 34px;
    height: 48px;
    padding: 0 0 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
}

.abeec-lightbox__control--prev {
    left: 20px;
}

.abeec-lightbox__control--next {
    right: 20px;
}

.abeec-lightbox__close:hover,
.abeec-lightbox__close:focus-visible,
.abeec-lightbox__control:hover,
.abeec-lightbox__control:focus-visible {
    background: #fff;
    color: var(--abeec-purple);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .abeec-section-title {
        font-size: clamp(28px, 9vw, 40px);
        line-height: 1.15 !important;
    }

    .abeec-gallery {
        --abeec-visible: 1;
        padding-left: 6px;
        padding-right: 6px;
    }

    .abeec-gallery__track {
        gap: 0;
    }

    .abeec-gallery__control {
        height: 36px;
        width: 36px;
    }

    .abeec-gallery__control--prev {
        left: 12px;
    }

    .abeec-gallery__control--next {
        right: 12px;
    }

    .abeec-lightbox {
        padding: 18px;
    }

    .abeec-lightbox__control {
        bottom: 18px;
        top: auto;
        transform: none;
    }

    .abeec-lightbox__control--prev {
        left: calc(50% - 58px);
    }

    .abeec-lightbox__control--next {
        right: calc(50% - 58px);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .abeec-gallery {
        --abeec-visible: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .abeec-gallery__track,
    .abeec-gallery__control,
    .abeec-gallery__dot {
        transition: none;
    }
}
