.candore-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 50vh;
}

/* Ensure parents do not restrict height for vh units. */
.elementor-widget-candore_slider_ee64c153 {
    width: 100%;
}

.candore-swiper-ee64c153,
.candore-swiper-ee64c153 .swiper-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    min-height: inherit;
}

/* Each Swiper slide must retain the full carousel width. */
.candore-swiper-ee64c153 .swiper-slide {
    height: 100%;
    width: 100%;
    display: flex;
    flex: 0 0 100%;
    min-height: inherit;
}

.candore-slide-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.candore-slide-grid {
    display: grid;
    width: 100%;
    height: 100%;
}

/* Desktop image layouts. */
@media (min-width: 1025px) {
    .candore-slide-grid-desktop-1 {
        grid-template-columns: 1fr;
    }

    .candore-slide-grid-desktop-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .candore-slide-grid-desktop-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .candore-slide-grid-desktop-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.candore-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.candore-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tablet and mobile: show only the selected image. */
@media (max-width: 1024px) {
    .candore-slide-grid {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .candore-mobile-show-1 .candore-img-wrapper-2,
    .candore-mobile-show-1 .candore-img-wrapper-3,
    .candore-mobile-show-1 .candore-img-wrapper-4 {
        display: none !important;
    }

    .candore-mobile-show-2 .candore-img-wrapper-1,
    .candore-mobile-show-2 .candore-img-wrapper-3,
    .candore-mobile-show-2 .candore-img-wrapper-4 {
        display: none !important;
    }

    .candore-mobile-show-3 .candore-img-wrapper-1,
    .candore-mobile-show-3 .candore-img-wrapper-2,
    .candore-mobile-show-3 .candore-img-wrapper-4 {
        display: none !important;
    }

    .candore-mobile-show-4 .candore-img-wrapper-1,
    .candore-mobile-show-4 .candore-img-wrapper-2,
    .candore-mobile-show-4 .candore-img-wrapper-3 {
        display: none !important;
    }

    .candore-img-wrapper {
        position: absolute;
        inset: 0;
    }
}

/* Global overlay. */
.candore-global-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    padding: 20px;
}

.candore-global-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.candore-global-title,
.candore-global-subtitle {
    margin: 0;
    line-height: 1.2;
}

/* Navigation dots. */
.swiper-pagination.candore-pagination-ee64c153 {
    bottom: 40px !important;
    z-index: 15;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ffffff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Contact overlays. */
.candore-contact-block {
    position: absolute;
    bottom: 40px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

.candore-contact-block:hover {
    opacity: 0.8;
}

.candore-contact-left {
    left: 40px;
}

.candore-contact-right {
    right: 40px;
}

.candore-contact-icon {
    width: 60px;
    height: 60px;
    border: 1px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.candore-contact-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive overlay adjustments. */
@media (max-width: 1024px) {
    .candore-contact-block {
        bottom: 20px;
    }

    .swiper-pagination.candore-pagination-ee64c153 {
        bottom: 20px !important;
    }

    .candore-contact-left {
        left: 20px;
    }

    .candore-contact-right {
        right: 20px;
    }

    .candore-contact-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767px) {
    .candore-contact-block {
        display: none;
    }
}
.candore-slider-wrapper {
    position: relative;
}

.candore-pagination-ee64c153 {
    position: absolute !important;
    left: 50% !important;
    bottom: 20px !important;
    z-index: 20 !important;
    width: auto !important;
    display: flex !important;
    gap: 8px;
    transform: translateX(-50%);
}

.candore-pagination-ee64c153 .swiper-pagination-bullet {
    display: block !important;
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    opacity: 1;
}

.candore-pagination-ee64c153
.swiper-pagination-bullet-active {
    background: #ffffff;
}
/* Ensure Swiper contains and clips all real slides. */
.candore-swiper-ee64c153 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Force the four slides into one horizontal row. */
.candore-swiper-ee64c153 > .swiper-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: 100% !important;
    align-items: stretch !important;
}

/* Stop the slides stacking on top of each other. */
.candore-swiper-ee64c153
> .swiper-wrapper
> .swiper-slide {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Each slide’s internal image layout fills its own slide. */
.candore-swiper-ee64c153 .candore-slide-inner {
    position: relative !important;
    width: 100%;
    height: 100%;
}

/* Keep navigation visible above the images. */
.candore-pagination-ee64c153 {
    position: absolute !important;
    left: 50% !important;
    bottom: 20px !important;
    z-index: 50 !important;
    display: flex !important;
    width: auto !important;
    gap: 8px;
    transform: translateX(-50%);
    visibility: visible !important;
    opacity: 1 !important;
}

.candore-pagination-ee64c153
.swiper-pagination-bullet {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    border: 1px solid #ffffff !important;
    border-radius: 50%;
    background: transparent !important;
    opacity: 1 !important;
}

.candore-pagination-ee64c153
.swiper-pagination-bullet-active {
    background: #ffffff !important;
}