.peakville-shop-hero {
    position: relative;

    * {
        font-family: var(--e-global-typography-primary-font-family), sans-serif;
    }

    .peakville-shop-hero_caroussel {
        position: absolute;
        display: flex;
        width: 1500px;
        height: 1500px;
        left: calc(50% - 400px);
        top: -1000px;
        justify-content: end;
        align-items: end;
        transform: translate(-50%);

        @media(max-width: 1024px) {
            width: 1000px;
            height: 1000px;
            left: 50%;
            top: -650px;
        }

        .product-slide {
            display: flex;
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            justify-content: center;
            align-items: end;
            transform: rotate(90deg);
            transition: 1s ease-in-out;

            img {
                width: 30%;
                height: 30%;
                object-fit: cover;
                border-radius: 50%;
                mix-blend-mode: multiply;
                filter: drop-shadow(15px -6px 4px rgba(0, 0, 0, .4));
            }

            &.active {
                opacity: 1;
                animation: rotate_in_right 1s linear;
                transform: rotate(0);
            }
        }
    }

    .peakville-shop-hero_section {
        display: flex;
        justify-content: center;
        position: relative;
        width: 100%;

        @media(max-width: 1024px) {
            flex-direction: column;
            justify-content: start;
            padding: 40px;
        }

        @media(max-width: 1024px) {

            padding: 20px;
        }

        img.background {
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100vh;
            object-fit: cover;
            filter: blur(10px) brightness(.8);
        }

        img.scroll-bottom {
            width: 50px;
            padding: 15px;
            background: rgba(250, 250, 250, .4);
            backdrop-filter: blur(10px);
            position: sticky;
            left: 50%;
            top: 93vh;
            transform: translateX(-50%);
            height: 50px;
            border-radius: 50%;

            @media(max-width: 767px) {
                top: 72vh;
            }
        }


        .peakville-shop-hero_content {
            width: 1400px;
            display: flex;
            height: 85vh;
            position: sticky;
            top: 50px;
            gap: 50px;

            @media(max-width: 1024px) {
                width: 100%;
                flex-direction: column-reverse;
                height: 75vh;
                overflow: hidden;

            }

            @media(max-width: 767px) {
                top: 0;

            }

            @media(min-width: 2000px) {
                overflow: visible;
            }

            .peakville-shop-hero_content-col {
                display: flex;
                align-items: end;
                height: 100%;
                width: 60%;
                justify-content: space-between;

                @media(max-width: 1024px) {
                    width: 100%;
                    height: fit-content;
                }

                .peakville-shop-hero-slider {
                    width: 100%;

                    @media(max-width: 767px) {
                        display: none;
                    }

                    .peakville-shop-hero-slider_wrapper {
                        display: flex;
                        flex-direction: row;
                        white-space: nowrap;
                        overflow-x: auto;
                        -ms-overflow-style: none;
                        scrollbar-width: none;
                        gap: 20px;
                        position: relative;

                        &::-webkit-scrollbar {
                            display: none;
                        }

                        .product-slide {
                            display: flex;
                            min-width: calc(100% / 4 - ((20px * 4) / 4));
                            align-items: center;
                            border-radius: 10px;
                            transition: .3s ease-in-out;

                            @media(max-width: 1024px) {
                                min-width: calc(100% / 2 - 20px / 2);

                            }

                            .content {
                                display: flex;
                                flex-direction: column;
                                width: fit-content;
                                align-items: center;
                            }

                            &:hover {
                                cursor: pointer;
                            }

                            span {
                                width: 100px;
                                hyphens: auto;
                                text-align: center;
                                white-space: normal;
                                color: #fff;
                                border-radius: 5px;
                                font-size: 14px;
                                transition: 1s ease-in-out;
                                line-height: 1;
                            }

                            img {
                                width: 100px;
                                height: 100px;
                                object-fit: cover;
                                border-radius: 50%;
                                transition: .5s;
                            }

                            &.active {
                                span {
                                    color: #000;
                                }
                            }
                        }

                        .active-background {
                            position: absolute;
                            content: "";
                            height: 100%;
                            width: 100px;
                            background: rgba(250, 250, 250, .5);
                            backdrop-filter: blur(10px);
                            border-radius: 10px;
                            z-index: -1;
                            transition: left 1s ease-in-out;
                        }
                    }
                }

                &:has(.peakville-shop-hero_content-meta) {
                    align-items: center;
                    width: 35%;

                    @media(max-width: 1024px) {
                        width: 100%;
                    }

                    .peakville-shop-hero_content-meta {
                        width: 100%;
                        height: 400px;
                        border-radius: 20px;
                        background: rgba(250, 250, 250, .2);
                        backdrop-filter: blur(10px);
                        padding: 50px;
                        position: relative;
                        overflow: hidden;

                        @media(max-width: 767px) {
                            padding: 20px;
                            height: 150px;
                        }

                        .product-slide {
                            display: flex;
                            flex-direction: column;
                            gap: 10px;
                            position: absolute;
                            top: 50px;
                            opacity: 0;
                            width: calc(100% - 100px);
                            left: -100%;
                            transition: 1s ease-in-out;

                            @media(max-width: 767px) {
                                top: 20px;
                                width: calc(100% - 40px);
                                gap: 40px;
                            }


                            &.active {
                                opacity: 1;
                                left: 50px;

                                @media(max-width: 767px) {
                                    left: 20px;
                                }
                            }
                            .product_flags {
                                position: absolute;
                                top: -40px;
                                left: 0;
                                display: flex;
                                justify-content: end;
                                width: 100%;
                                .product_flag {
                                    font-size: 12px;
                                    padding: 5px 10px;
                                    border-radius: 5px;
                                }
                            }
                            a {
                                font-size: 16px;
                                color: #fff;
                                background: #000;
                                padding: 10px 20px;
                                border-radius: 50px;
                                width: fit-content;

                                @media(max-width: 767px) {
                                    padding: 5px 10px;
                                    font-size: 14px;
                                }

                                &:hover {
                                    background: rgba(0, 0, 0, .7);
                                }
                            }

                            .desc {
                                color: #000;
                                font-size: 16px;
                                line-height: 1.2;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 7;
                                text-overflow: ellipsis;
                                overflow: hidden;

                                @media(max-width: 767px) {
                                    display: none;

                                }

                            }

                            span.title,
                            span.title b {
                                display: flex;
                                color: #000;
                                font-size: 46px;
                                font-family: var(--e-global-typography-accent-font-family), sans-serif;
                                line-height: 1;
                                text-shadow: 5px 11px rgba(0, 0, 0, .1);

                                @media(max-width: 767px) {
                                    font-size: 30px;
                                }
                                b {
                                    padding: 5px 10px 8px 5px;
                                    background: #a68a64;
                                    border-radius: 5px;
                                    color: #fff;
                                    margin-right: 5px;

                                }
                            }
                        }

                    }
                }
            }
        }
    }
}

@keyframes rotate_in_right {
    from {
        transform: rotate(-90deg);
    }

    to {
        transform: rotate(0deg);
    }
}