/**
 * Custom Image Carousel - "See Full Image" Button
 *
 * Styles for the lightbox trigger button overlaid on carousel slides.
 * @package HelloBiz
 * @since 1.3.0
 */

/* ==========================================================================
   1. Slide Container — positioning context for the button
   ========================================================================== */

.elementor-widget-custom-image-carousel .swiper-slide {
    position: relative !important;
    overflow: hidden;
}

.elementor-widget-custom-image-carousel .swiper-slide-inner {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
}

.elementor-widget-custom-image-carousel .swiper-slide a {
    display: block;
    height: 100%;
}

/* Image fills the container, centered for portrait images */
.elementor-widget-custom-image-carousel .swiper-slide .swiper-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ==========================================================================
   2. "See Full Image" Button
   ========================================================================== */

.elementor-widget-custom-image-carousel .custom-carousel-full-image-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px 12px 24px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
    pointer-events: auto;
    letter-spacing: 0.02em;
    font-family: var(--e-global-typography-text-font-family);
    text-transform: uppercase;
}

.elementor-widget-custom-image-carousel .custom-carousel-full-image-btn:hover {
    background-color: rgba(0, 0, 0, 0.85);
    transform: translateX(-50%) scale(1.03);
}

.elementor-widget-custom-image-carousel .custom-carousel-full-image-btn i {
    font-size: 14px;
    line-height: 1;
}

/* ==========================================================================
   3. Navigation Arrows
   ========================================================================== */

.elementor-widget-custom-image-carousel .elementor-swiper-button-prev {
    background: white !important;
    padding: 8px !important;
    border-radius: 0 50% 50% 0 !important;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.10) !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    z-index: 10;
}

.elementor-widget-custom-image-carousel .elementor-swiper-button-next {
    background: white !important;
    padding: 8px !important;
    border-radius: 50% 0 0 50% !important;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.10) !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: -10px;
    z-index: 10;
}

.elementor-widget-custom-image-carousel .elementor-swiper-button-next svg,
.elementor-widget-custom-image-carousel .elementor-swiper-button-prev svg {
    fill: black !important;
}

/* ==========================================================================
   4. Desktop (min-width: 1025px) — 500px fixed height
   ========================================================================== */

@media (min-width: 1025px) {
    .elementor-widget-custom-image-carousel .swiper-slide {
        height: 500px !important;
    }

    .elementor-widget-custom-image-carousel .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image,
    .elementor-lightbox .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image {
        height: 500px !important;
    }
}

/* ==========================================================================
   5. Tablet & Mobile (max-width: 1024px) — 250px fixed height
   ========================================================================== */

@media (max-width: 1024px) {
    .elementor-widget-custom-image-carousel .swiper-slide {
        height: 250px !important;
    }

    .elementor-widget-custom-image-carousel .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image {
        height: 250px !important;
        object-fit: cover;
        object-position: center center;
    }

    .elementor-widget-custom-image-carousel .custom-carousel-full-image-btn {
        font-size: 11px;
        padding: 6px 14px;
        bottom: 10px;
    }
}