.product-tabs-wrapper {
    padding:1rem;
}

.product-tab-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:2rem;
    padding-top:2rem;
    padding-bottom:4rem;
}

.product-tab-buttons > div {
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    cursor: pointer;
    padding: 0.4rem 0rem;
    font-weight: 200;
    font-size:16px;
    text-transform: uppercase;
}

#newProductTabButton {
    border-color: #DA027E;
}

#popularProductTabButton {
    border-color: #0390D8;
}

.product-tabs-wrapper {
    width: 100%;
    margin: auto;
}

.home-squares-wrapper {
    width: 90%;
    margin:auto;
}

.home-square-wrapper {
    width:100%;
    height: fit-content;
    position: relative;
    margin-top: 0.5rem;
    display: block;
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}

.home-square-wrapper:hover > img {
    transform: scale(1.2);
}

.home-square-wrapper img {
    width: 100%;
    transition: transform 0.5s cubic-bezier(0, 0, 0, 0.93);
}

.home-square-wrapper > .home-square-overlay {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding:2rem;
    color:white;
    font-size:30px;
    /*background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);*/
    transition: background 0.2s linear;
}

@media screen and (min-width:768px) {
    .product-tabs-wrapper {
        width: 95%;
    }

    .product-tab-buttons > div {
        border-top: 3px solid black;
        border-bottom: 3px solid black;
        cursor: pointer;
        padding: 0.4rem 0rem;
        font-weight: 200;
        font-size:18px;
    }
}

@media screen and (min-width:1024px) {
    .product-tabs-wrapper {
        width: 90%;
        padding-top:6rem;
    }

    .product-tab-buttons > div {
        border-top: 3px solid black;
        border-bottom: 3px solid black;
        cursor: pointer;
        padding: 0.4rem 0rem;
        font-weight: 200;
        font-size:24px;
    }

    .home-squares-wrapper {
        width: 70%;
        display: grid;
        grid-template-columns: 0.9fr 0.5fr 0.5fr;
        gap: 1.6rem;
        padding-top:5rem;
    }

    .home-square-wrapper {
        max-height: 100%;
    }

    .home-square-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-squares-second-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .home-squares-third-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    
}

@media screen and (min-width:1280px) {
    .product-tabs-wrapper {
        width: 85%;
        max-width: 1300px;
    }
}







