.nextvital-search-suggestions-desktop,
.nextvital-search-suggestions-mobile{
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    transition: opacity 0.5s ease-in-out;
    border-bottom: 1px solid #F7F7F7;

    @media screen and (min-width: 1240px) {
        position: absolute;
        width: 100vw;
        left: 0;
        display: none;
        opacity: 0;
    }

    .nextvital-blur-bg{
        display: none;
    }

    &.nxt-show-suggestions{
        display: block;
        opacity: 1;
        background: transparent;
        
        .nextvital-blur-bg{
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000A;
            z-index: 100;
        }
    }

    .nextvital-suggestion-slider-list,
    > .nextvital-search-suggestions-wrapper{
        position:relative;
        display: flex;
        max-width: 100%;
        flex-direction: row;
        background-color: #fff;
        z-index: 200;
        @media screen and (max-width: 678px) {
            flex-direction: column;
        }

        @media screen and (min-width: 840px) {
            max-width: 800px;
            margin: 0 auto;
            padding: 24px 20px;
        }
        
        @media screen and (min-width: 1240px) {
            max-width: 100%;
            > .nextvital-search-suggestions-wrapper-inner{
                max-width: 1340px;
                margin: 0 auto;
            }
        }
        > .nextvital-search-suggestions-wrapper-inner{
            position: relative;
            display: flex;
            flex-direction: row;

            .search-suggestion-close{
                position: absolute;
                cursor: pointer;
                width: 40px;
                height: 40px;
                overflow: hidden;
                display: block;
                top: -10px;
                right: -30px;
                z-index: 100;
                > img{
                    width: 100%;
                    height: auto;
                }
            }

            .nextvital-product-discount{
                left: -10px;
                .ybl-product-countdown-badge-wrapper{
                    padding-left: 0;
                    padding-right: 0;
                    .ybl-countdown-wrapper{
                        grid-template-columns: auto auto !important;
                        .ybl-discount{
                            > p {
                                padding: 8px;
                            }
                        }
                    }
                }
            }
        }

        .nextvital-slider-component{

            .slider-button{
                position: absolute;
                height: 100%;
                top: 0;
                
                font-size: 30px;

                &.slider-button--prev{
                    left: 0;

                }
                &.slider-button--next {
                    right: 0;

                }
            }

        }

        .nextvital-search-suggestions{
            position: relative;
            width: 100%;
            background-color: #fff;
            padding-top: 16px;
            display: block;

            @media screen and (min-width: 840px) {
                max-width: 190px;
                padding-top: 40px;
            }

            ul.suggestions-list{
                list-style: none;
                padding: 0 10px;
                max-width: 768px;
                margin: 0 auto;
                @media screen and (min-width: 679px) {
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    align-items: flex-start;
                }
                @media screen and (min-width: 1240px) {
                    justify-content: flex-end;
                    align-items: flex-end;
                }

                li.suggestions-item{
                    /*
                    padding: 12px 16px; 
                    border-radius: 100px;
                    border: 2px solid  #033E46; 
                    max-width: 280px;
                    width: max-content;
                    align-items: center;
                    line-height: 15px;
                    margin-bottom: 12px;
                    background-color: #fff;
                    display: inline-block;
                    */

                    border-radius: 4px;
                    padding: 12px;
                    color: #033E46;
                    background-color: #fff;
                    border: 1px solid #033E46;
                    font-family: Mulish-ExtraBold;
                    margin-bottom: 10px;
                    line-height: 20px;

                    &.prio-first-item{
                        background-color:  #033E46;
                        > a{
                            color: #fff;
                        }
                        &:hover{
                            background-color:  #033E46;
                            > a{
                                color: #fff;
                            }  
                        }
                    }
                    
                    > a{
                        color: #033E46;
                        text-decoration: none;
                    }

                    &:hover{
                        border-color: #00616E !important;
                        color: #00616E !important;
                        a{
                            color: #00616E;
                        }
                    }
                }
            }
        }

        > .nextvital-search-product-slider{
            max-width: 600px;
            .nextvital-suggestion-slider-list{
                max-width: fit-content;
                margin: 0 auto;
            }
        }
    }

    .nextvital-suggestion-slider-component{
        padding: 20px 0;
        li{
            max-width: 175px !important;

            .card.card--card{
                border-radius: 8px;

                .card__inner{
                    .card__content{
                        display: none;
                    }
                }

                .card__media > .nextvital-product-icon-wrapper > .nextvital-product-icon{
                    width: 60px;
                }

                .card__information{
                    padding-bottom: 0 !important;


                    .card__heading.long_title.h5,
                    .card__heading.package_size.h5{
                        > a{
                            font-size: 12px !important;
                        }
                    }

                    .rating{
                        margin-bottom: 10px !important;
                    }

                    .price > .price__container > .price__regular > .price-item.price-item--regular{
                        font-size: 20px !important;
                        line-height: 28px !important;
                    }
                    .price > .price__container > .price__regular > .unit-price.caption{
                        font-size: 10px !important;
                        line-height: 18px !important;
                    }
                }

                .quick-add.nextvital-quick-add{
                    bottom: 10px;
                    right: 10px;
                }

                .nextvital-product-discount{
                    .ybl-countdown-wrapper{
                        grid-template-columns: 1fr !important;
                        > .discount-title{
                            display: none;
                        }
                    }
                }
            }
        }
    }

    li.nextvital-slide-product
    {
        padding-top: unset !important;
        padding-bottom: unset !important;

        &.nextvital-last-slide{
        position: relative;
        overflow:hidden;
        border-radius: 12px;

        .last-slide-url{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: block;
            z-index: 1;
        }

        .nextvital-product-card-wrapper{
            display: flex;
            justify-content: center;
            > img.teaser-card-last-image{
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
        }

        .nextvital-to-collection-card{
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #9FD8B4;

        .link-text{
            line-height: normal;
            text-align: center;
            color: #fff;
            font-family: Mulish-ExtraBold, Mulish;
        }

        .arrow-right{
            max-width: 20px;
        }
        }
    }
    }
}

.nextvital-search-suggestions-desktop{
    .nextvital-quick-add{
        .nextvital-quick-add-button{
            @media screen and (min-width: 1240px) {
            width: 42px !important;
            min-width: 42px;
            height: 42px !important;
            min-height: 42px !important;
            background-size: 25px 25px;
            }
        }
    }
}

/*
#predictive-search-results-queries-list{
    .predictive-search__list-item{
        padding: 12px 16px; 
        border-radius: 100px;
        border: 2px solid  #033E46; 
        max-width: 280px;
        width: max-content;
        align-items: center;
        line-height: 15px;
        margin-bottom: 12px;
        background-color: #fff;
        display: inline-block;
        
        > a{
            color: #033E46;
            padding: 0;
            p {
                font-family: Futura;
            }
        }
    }
}
*/
