/*
 * Platz für eigene Änderungen direkt als CSS
 * Die hier gemachten Änderungen überschreiben ggfs. andere Styles, da diese Datei als letzte geladen wird.
 */
h1, h2, h3, h4, h5, h6, .h1, .h2, .product-matrix .product-matrix-title, .h3, .sidepanel-left .box-normal .box-normal-link, .h4, .h5, .h6{
    font-family: var(--wbn-font-family);
    font-weight: 600;
}

body{
    font-family: var(--wbn-font-family);

}


.start-element{
    max-width: unset !important;
    margin-top: 0 !important;
}

.opc-Container .opc-Container{
    max-width: 1295px;
    margin: 4rem auto;
}

.smoothscroll-top-search{
    display: none;
}

/*#header-top-bar{*/
/*    background: var("$wbn-blue");*/
/*}*/
header{
    position: sticky !important;
    top: 1.7rem !important;
}

#header-top-bar{
    background: var(--wbn-as-blue);
    color: var(--wbn-as-white);
    text-transform: uppercase;
    position: sticky;
    top: 0;
    height: 1.7rem;
}

#header-top-bar div{
    justify-content: center;
}

#header-top-bar a{
    color: var(--wbn-as-white) !important;
}

#header-top-bar a:hover{
    color: var(--wbn-as-black) !important;
}

.menu-ordering-process{
    top: 0 !important;
}

.nav-item img{
    height: 18px;
    padding-bottom: 2px;
}

.topbar-main{
    justify-content: space-between;
    width: 1295px;
    padding: .125em .5em;
    position: relative;
}

.container-fluid-xl{
    max-width: 1295px;
}

#footer{
    background: var(--wbn-as-blue);
    padding: 0;
}

#footer, #footer a, #footer  .productlist-filter-headline{
    color: var(--wbn-as-white) !important;
}

#footer .newsletter, #footer .newsletter a{
    color: var(--wbn-as-black) !important;
}

#footer .newsletter a:hover{
    color: var(--wbn-as-blue) !important;
}

#footer .container{
    max-width: unset;
}

#footer-boxes{
    justify-content: center;

    display: flex;
    margin: 4rem;
}

.footer-box-content{
    width: 1295px;
    display: flex;
}

#footer a:hover{
    color: var(--wbn-as-black) !important;
}

#footer .col-lg-3{
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

#footer #footer-boxes .col{
    max-width: 33.333%;
}

#wbn-copyright{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 80%;
}

#wbn-copyright li{
    width: fit-content;
    background-color: var(--wbn-as-white);
    margin: 0;
    flex: 1 1 30%;
    align-content: center;
    justify-content: center;
    display: flex;
    min-height: 45px;
    flex-wrap: wrap;
    border-radius: 2px;
}

#footer .list-unstyled{
    display: flex;
}

#footer .list-unstyled a{
    border: none;
}

#footer .list-unstyled a:hover{
    background-color: var(--wbn-as-blue);
}


.newsletter-footer{
    display: flex;
    justify-content: center;
    background: var(--wbn-as-lightgrey);
    padding: 4rem 0;

}

.newsletter{
    width: 650px;
}

.newsletter div{
    max-width: unset;
    text-align: center;
}



.btn-primary, .btn-secondary, btn-secondary:focus, .btn-primary:focus{
    color: var(--wbn-as-white);
    background-color: var(--wbn-as-blue) !important;
    border: none;
}

.btn-primary:hover, .btn-secondary:hover{
    background-color: var(--wbn-as-blue);
    border-color: var(--wbn-as-blue);
    color: var(--wbn-as-black);
}

body a{
    text-decoration: none;
}

.favourite-categories .card{
    border: none;
    background: var(--wbn-as-lightgrey);
}

.favourite-categories .card-body{
    padding: 1rem 0.7rem;
}

.favourite-categories p{
    margin: 0;
    padding-top: 0.7rem;
    display: flex;
    justify-content: center;
}

.best-sold .row{
    max-width: 100%;
    margin: 0;
}
.best-sold{
    padding: 0;
}

.best-sold .opc-Container{
    margin: 0;
}

.best-sold .col{
    padding: 0;
    flex: 1 1 20%;
    max-width: unset;
    display: inline-block;
}

.best-sold img{
    transition: filter 0.3s ease;
}

.best-sold .col:hover img{
    filter: blur(1px) brightness(0.8);
}

.text-container{
    min-height: unset !important;
    position: absolute !important;
    bottom: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    opacity: 0;
    pointer-events: none;
}

.best-sold .col:hover .text-container{
    opacity: 1;
}

.text-container div{
    align-self: center;
    color: var(--wbn-as-white);
    font-size: 28px;
    text-decoration: underline;

}



.slick-arrow{
    background-color: var(--wbn-as-lightgrey);
}

.image-container .row .opc-Container{

}

.image-container-single{
    display: inline-block;
}
.image-container-single div:last-child{

    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 0;
}
.image-container-single p a{
    font-size: 28px !important;
    color: var(--wbn-as-white);
    font-weight: 600;
    position: relative;
    display: inline-block;

}

.image-container-single p a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--wbn-as-white);
    transition: width 0.3s ease;
}

.image-container-single p a:hover::after{
    width: 100%;
}

.stock-list{
    display: flex;
    flex-wrap: wrap;
}

.stock-list li{
    flex: 1 1 45%;
}

.stock-list:last-child{
    width: 100%;
}

.stock-information ul p{
    margin-bottom: 0;
    font-weight: 600;
}

.stock-information .stock-list{
    margin-bottom: 1rem;
}


.variation-wrapper .form-row > .col, .form-row > [class*="col-"] {
    width: 4rem;
}


@media (max-width:767px) {
    .topbar-main{
        display: block;
        overflow: hidden;
        white-space: nowrap;
        height: 2rem;
    }

    #header-top-bar ul{
        justify-content: center;
        display: flex;
        padding: 0.4rem;
    }

    #header-top-bar li{
        position: absolute;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    header{
        z-index: 1022;
    }

    header{
        top: 2rem !important;
    }

    #header-top-bar{
        height: 2rem;
    }

    nav .nav-logo-wrapper{
        display: flex;
    }

    #footer .col-lg-3, #wbn-copyright li{
        max-width: unset;
    }

    #footer-boxes{
        margin: 0;
    }

    .footer-box-content{
        flex-direction: column;
    }

    #footer #footer-boxes .col{
        max-width: 100%;
    }


    #footer, #footer li, #footer a, #footer span{
         text-align: center;
         width: 100%;
     }

    #footer ul{
        margin: auto;
    }

    #footer .col{
        margin: 1rem 0;
    }

    .footer-box-content{
        height: fit-content;
    }


    .start-element-mobil{
        min-height: 100vw !important;
        display: flex;
    }

    .start-element-mobil div{
        align-self: center;
    }

    .fadeIn{
        opacity: 1;
    }

    .fadeOut{
        opacity: 0;
    }

    .col-6{
        padding-bottom: 1rem;
    }

    .opc-Container{
        margin: 2rem auto !important;
    }

    .business-container .row{
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .best-sold .col{
        flex: 1 1 50%;
    }

    .best-sold .opc-Container{
        margin: 0 !important;
        min-height: unset !important;
    }



    .best-sold .row div:nth-child(n+5){
        display: none;
    }

    .text-container{
        opacity: 1;

    }

    .stock-information{
        display: flex;
        flex-direction: column;
    }



    /* Entfernt das Dropdown-Verhalten im footer*/
    .box-normal-link {
        pointer-events: none;
        cursor: default;
    }


    #footer .collapse{
        display: block;
    }


    #footer .dropdown-toggle::after, :not(.navbar-toggler)[data-toggle="collapse"]::after{
        content: none !important;
    }
    #footer hr{
        display: none;
    }

}

/*Prduct Seite Dropdown*/
.variation-wrapper  .dropdown-menu{
    transform: translate3d(0px, 45px, 0px)!important;
}