/*showroom shop*/

h1 {
    font-size: 3.5rem;  /*in Main verlagern*/
}

#showroom_shop {
    height: 60vh;
    min-height: 300px;
    background-image: url("../img/shop_showroom.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2rem;
    padding-left: 60vw;
}

#showroom_shop h1 {
    color: var(--main-color);
}

#showroom_shop p {
    color: var(--main-color);
}

#showroom_shop input[type='search'] {
    border-radius: 2rem;
    border: 0px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    width: 30vw;
    height: 3rem;
    outline: none;
    background-color: rgba(255, 255, 255, 0.918);
}

#showroom_shop input:focus {
    background-color: var(--main-color);
}

@media screen and (max-width: 900px) {
    #showroom_shop {
        height: fit-content;
        padding: 2rem;
        background-image: none;
        background: linear-gradient(180deg, var(--contrast-color), var(--variant-color));

        & div {
            margin-bottom: 1rem;
        }

        & input[type='search'] {
            width: 100%;
            
        }

        & .darkbutton {
            width: 10rem;
        }
    }
}

/*filter shop*/

#filter {
    margin-top: 1.5rem;
    display:flex;
    justify-content: space-around;
}

#filter>div {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#filter button  {
    border: 2px solid var(--contrast-color);
    margin: 0 0.5rem 0 0.5rem;
    background-color: var(--main-color);
}

#filter button:hover, #filter .filter-activated {
    color: var(--main-color);
    background-color: var(--contrast-color);
}

#filter #filter-mobile {
    display: none;
}

@media screen and (max-width: 900px) {
    #filter {
        flex-direction: column;

        > div {
            flex-direction: column;

            & button {
                margin: 0.5rem 0;

            }
        }

        & .mobileToggle {
            display:none;
        }
        & .toggle-filter {
            display: flex;
        }
        & #filter-mobile {
            display: unset;
            
            & div {
                width: 100%;
                display: flex;
                justify-content: center;

                & button {
                    width: 40%;
                    margin: 0;
                    border: 0;
                    border-bottom: solid var(--contrast-color) 2px;
                    color: var(--contrast-color)
                }

                & .current-tab {
                    color: var(--main-color);
                    background-color: var(--contrast-color);
                }
            }

            & h3 {
                margin-bottom: 1rem;
                text-align: center;
            }
            
        }
    }
}

/*product list shop*/

#product_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;


}

#product_list > article > a {
    width: 300px;
    height: 400px;
    background-color: var(--variant-color);
    border-radius: 2rem;
    margin: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: 0.25s ease-in-out;
    border: 3px solid rgba(255, 255, 255, 0);

    & div div {
        height: 25%;
    }

    > div {
        min-height:40%;
        max-height: 40%;
    }
}

#product_list > article > a:hover {
    border: 3px solid var(--accent-color);
}

.tag {
    background-color: var(--accent-color);
    border-radius: 1rem;
    color: var(--main-color);
    width: fit-content;
    padding: 0.2rem 0.4rem 0.2rem 0.4rem;
}

#product_list h3 {
    font-size: 1.5rem;
    font-family: Winco;
}

.productdiscription {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

#product_list .price {
    font-family: Winco;
    margin-bottom: 0.8rem;
    height: 10%;
}

#product_list img {
    height: 50%;
    max-width: fit-content;
    margin-bottom: 0.5rem;

}

#pagebuttons {
    display: flex;
    justify-content: center;

    & a {
        border: 2px solid var(--contrast-color);
        border-radius: 0;
        margin: 1rem;
    }

    & a:hover {
        background-color: var(--accent-color);
        border: 2px solid var(--accent-color);
        color: var(--main-color);
    }
}

