﻿.leaf-campaign-Carousel {
    height: 70vh;
    width: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

    .leaf-campaign-Carousel .top-box {
        width: 100%; 
        height: 70%;
        position: relative;
    }
    .leaf-campaign-Carousel .bottom-box {
        width: 100%;
        height: 30%;
        position: relative;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
        background-color: yellow;
    }

    .leaf-campaign-Carousel .top-box .box-move-left {
        width: 50%;
        height: 100%;
        position: absolute; top: 0px; left: 0px;
        cursor: pointer;
    }
    .leaf-campaign-Carousel .top-box .box-move-right {
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0px;
        right: 0px;
        cursor: pointer;
    }

.leaf-campaign-Carousel .top-box .product-carousel {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1050px;
    min-width: 900px;
}
    .leaf-campaign-Carousel .top-box .product-carousel .gallery {
        display: flex;
        transition: transform 0.4s ease;
    }
        .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item {
            width: 20%;
            height: auto;
            margin: 0 -20px;
            transition: all 0.2s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 80px;
            opacity: 1;
            z-index: 10;
        }
        .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item img {
            width: 100%; height: auto;
            object-fit: cover;
            box-shadow: 0 4px 8px rgba(0,0,0, 0.3);
            filter: brightness(70%);
        }
        .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.middle {
            margin-top: 0px;
            opacity: 1;
            z-index: 20;
        }
            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.middle img {
                filter: brightness(100%);
            }
            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.inner1 {
                margin-top: 40px;
                z-index: 18;
            }
            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.inner2 {
                margin-top: 60px;
                z-index: 16;
            }

            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.transition {
                margin-top: 60px;
                padding: 10px;
            }
            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.slide-out1 {
                transform: translateX(100%);
                opacity: 0;
            }
            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.slide-out2 {
                transform: translateX(-100%);
                opacity: 0;
            }
            .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item.slide-in {
                transform: translateX(0);
                opacity: 1;
            }

    .leaf-campaign-Carousel .bottom-box .arrow-left {
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
                .leaf-campaign-Carousel .bottom-box .arrow-left img { height: 100%; width: auto;}
                .leaf-campaign-Carousel .bottom-box .arrow-right {
                    width: 30px;
                    height: 30px;
                    cursor: pointer;
                    position: absolute;
                    right: 20px;
                    top: 50%;
                    transform: translateY(-50%);
                    z-index: 10;
                }
                    .leaf-campaign-Carousel .bottom-box .arrow-right img {
                        height: 100%;
                        width: auto;
                    }
    .leaf-campaign-Carousel .bottom-box .prod-content {
        width: 80%; max-width: 800px;
        position: absolute; top: 50%; left: 50%;
        transform: translate(-50%, -50%);
    }
        .leaf-campaign-Carousel .bottom-box .prod-content h2 {
            font: 600 40px HalisGR-Regular;
            text-align: center;
            margin: 0px;
            line-height: 100%;
            padding-bottom: 10px;
            letter-spacing: 0px;
        }

        .leaf-campaign-Carousel .bottom-box .prod-content p {
            font: 300 20px HalisGR-Regular;
            text-align: center;
            margin: 0px;
            line-height: 120%;
        }

    .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item .product-color {
        display: none;
    }
    .leaf-campaign-Carousel .top-box .product-carousel .gallery .product-item .product-text {
        display: none;
    }

@media (max-width: 800px) {
    .leaf-campaign-Carousel .bottom-box .prod-content {
        width: 100%;
        max-width: 1000px;
        position: absolute;
        padding: 20px 60px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .leaf-campaign-Carousel .bottom-box .prod-content h2 {
            font: 600 30px HalisGR-Regular;
            text-align: center;
            margin: 0px;
            line-height: 100%;
            padding-bottom: 10px;
            letter-spacing: 0px;
        }

        .leaf-campaign-Carousel .bottom-box .prod-content p {
            font: 300 16px HalisGR-Regular;
            text-align: center;
            margin: 0px;
            line-height: 120%;
        }
}