/*****************************
MEDIA QUERIES
*****************************/

/* for 980px or less */
@media screen and (max-width: 980px) {
    .hg {
        grid-template-areas:
            "header"
            "pesq"
            "main"
            "esq"
            "dir"
            "footer";

        grid-template-columns: 100%;
        grid-template-rows:
            auto
            auto
            1fr
            auto
            auto
            auto;
    }
}

@media (max-width: 979px) {
    .right-group {
        flex-direction: row-reverse;
    }
    .dropdownCart-icon img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 769px) {
    .txt-master{
        margin-top: 80px;
    }
    .logosite {
        width: 160px;
        height: 60px;
        background-size: 160px auto;
    }
    .vm-category-title {
        line-height: 1.1;
    }
}


@media screen and (max-width: 50em) {
    .txt-master{
        text-align: left;
    }

    .footer-master{
        flex-direction: column-reverse;
        padding-left: 5%;
        padding-right: 5%;
    }
    .footer-esq1 div div:last-of-type{
        font-size: var(--tit2);
    }
    .footer-dir{
        justify-content: flex-end;
        padding: 0;
    }
}

@media screen and (max-width: 40em) {
    /*### Imagens flex ###*/
    .grid{
        flex-direction: column;
        width: 100%;
    }
    /*Video Texto*/
    /*    .topotexto{font-size: 1.5rem; letter-spacing: 0.5px;}
        .topotextodesc{font-size: 1rem;}*/
}


@media (max-width: 320px) {
    .addtocart-bar .row{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
}
