@import "helpers";

#sc-topo {
    position: sticky;
    z-index: 2000;
    width: auto;
    top: 0px;
    left: 0px;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;

    &.scrolling {}
}

.hint-search {
    position: absolute;
    background-color: $light;
    border: solid 1px $borders;
    box-shadow: 0px 19px 16px -16px $dark;
    top: 100%;
    width: 100%;
    /*max-width: 400px;*/
    padding: 10px;
    z-index: 1000;
    left: 0;
    pointer-events: none;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s;

    .title {
        display: block;
        margin: 0px;
        margin-bottom: 20px;
        color: $textoDark;
        font: normal 13px $fontBold;
        line-height: 14px;
        letter-spacing: 0.02em;
    }

    ul {
        padding: 0;
        display: block;
        max-height: calc(100% - 75px);
        overflow-y: auto;

        li {
            display: block;
            margin-bottom: 5px;
            background-color: #FFFFFF;

            &:nth-child(odd) {
                background-color: #FAFAFA;
            }

            a {
                display: flex;
                outline: 0px;
                align-items: stretch;
                align-content: flex-start;
            }

            .foto {
                background: url(../img/icon-img.png) center no-repeat;
                background-size: 22px;
                position: relative;
                width: 70px;
                height: 95px;

                .img {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0px;
                    left: 0px;
                    object-fit: cover;
                }
            }

            .description {
                display: flex;
                width: calc(100% - 70px);
                padding-left: 30px;
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;

                .vlTitulo {
                    display: block;
                    margin: 0px;
                    margin-bottom: 10px;
                    color: $textoDark;
                    font: normal 12px $fontRegular;
                    line-height: 14px;
                    letter-spacing: 0.04em;
                }

                .vlItem {
                    display: block;
                    margin: 0px;
                    color: $textoDark;
                    font: normal 12px $fontBold;
                    line-height: 13px;
                    letter-spacing: 0.04em;
                }
            }

            &:last-of-type {
                margin-bottom: 0px;
            }
        }
    }

    .box-total {
        display: flex;
        width: 100%;
        margin-top: 20px;
        align-items: center;
        justify-content: space-between;

        .btn-hint {
            display: block;
            outline: 0px;
            color: $textoDark;
            font: normal 13px $fontBold;
            line-height: 14px;
            letter-spacing: 0.02em;
            background-color: transparent;
            border: none;
        }

        .total-produtos {
            display: block;
            color: $textoDark;
            font: normal 12px $fontRegular;
            line-height: 14px;
            letter-spacing: 0.04em;
        }
    }

    &.visible {
        pointer-events: all;
        transform: translateY(0);
        opacity: 1;
    }
}

#he-topo {
    display: block;
    background: #FFFFFF;
    border-bottom: solid 1px $borders;

    .bar-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 15px;
        background-color: #F5F5F5;

        @media(max-width:991px) {
            padding: 0px;
        }

        .column {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: auto;
            gap: 50px;

            @media(max-width:1199px) {
                gap: 15px;
            }

            @media(max-width:991px) {
                width: 100%;
                max-height: 40px;
                justify-content: center;
                gap: 0;
            }

            .user-logged {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 10px;

                .logout {
                    font-weight: normal;
                    font-family: $fontBold;
                }
            }

            .item {
                outline: 0px;
                display: block;
                margin: 0px;
                padding: 10px 0px;
                color: $textoDark;
                font: normal 14px $fontRegular;
                line-height: 20px;
                text-align: center;

                @media(max-width:1199px) {
                    padding-top: 10px;
                    padding-bottom: 10px;
                }

                &.highlight {
                    padding-left: 20px;
                    padding-right: 20px;
                    color: #FFFFFF;
                    background-color: #000000;

                    @media(max-width:991px) {
                        padding-left: 5px;
                        padding-right: 5px;
                        margin-right: 3px;
                        text-wrap: nowrap;
                    }
                }
            }

            &.hooks {
                @media(max-width:991px) {
                    max-width: 132px;
                    display: none;
                }
            }
        }
    }

    .conteudo {
        display: flex;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0px 0px 0px 1px #E5E5E5;

        #he-nav-topo {
            display: flex;
            flex-direction: column;
            flex-grow: 1;

            @media(max-width:1199px) {
                display: none;
            }
        }

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 20px;
            width: auto;

            @media(max-width:767px) {
                gap: 10px;
            }

            .control-menu {
                outline: 0px;
                display: none;
                align-items: center;
                justify-content: center;
                width: 30px;
                height: 30px;

                @media(max-width:1199px) {
                    display: flex;
                }

                @media(max-width:575px) {
                    transform: scale(0.8);
                }
            }
        }

        .logo {
            display: block;
            outline: 0px;
            width: auto;
            max-width: $logoWidth;
            padding-top: 10px;
            padding-bottom: 10px;

            @media(max-width:1199px) {
                width: calc(100% - 50px);
                max-width: 245px;
            }

            @media(max-width:767px) {
                width: calc(100% - 40px);
            }

            img {
                display: block;
                width: 100%;
            }
        }

        .col-perfil {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            width: 100%;
            max-width: 417px;
            padding-left: 15px;

            @media(max-width:1199px) {
                width: auto;
            }

            .item {
                padding-top: 10px;
                padding-bottom: 10px;
            }

            .search-container {
                display: none;
                width: 100%;
                max-width: 25px;
                margin-right: 30px;

                @media(max-width:1560px) {
                    margin-right: 15px;
                }

                @media(max-width:1199px) {
                    display: block;
                }

                .control-search {
                    outline: 0px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 25px;
                    height: 25px;

                    svg {
                        @media(max-width:575px) {
                            transform: scale(0.8);
                        }
                    }
                }
            }

            .pesquise {
                position: relative;
                display: block;
                width: 100%;
                max-width: 220px;
                margin-right: 30px;

                @media(max-width:1560px) {
                    margin-right: 15px;
                }

                @media(max-width:1199px) {
                    display: none;
                }

                #he-search {
                    display: flex;
                    width: 100%;
                    padding-left: 20px;
                    padding-right: 20px;
                    align-items: center;
                    justify-content: center;
                    background-color: $medium;
                    border-radius: 100px;

                    .he-bt-search {
                        display: block;
                        outline: 0px;
                        width: 26px;
                        height: 24px;
                        margin-right: 10px;
                        border: none;
                        border-radius: 0px;
                        box-shadow: none;
                        background-color: transparent;
                        background-position: -8px -53px;
                        @extend %esconde-texto;
                        @include sprite();

                        &:hover,
                        &:focus {
                            outline: 0px;
                        }
                    }

                    .he-input-search {
                        display: block;
                        outline: 0px;
                        width: calc(100% - 23px);
                        padding: 10px 0px;
                        color: $textoMedium;
                        font: normal 15px $fontRegular;
                        text-indent: 13px;
                        border: none;
                        background-color: transparent;
                        box-shadow: none;

                        &:hover,
                        &:focus {
                            outline: 0px;
                        }
                    }
                }

                .hint-search {
                    width: 415px;
                    right: 0px;
                    left: auto;
                }
            }

            .minha-conta {
                position: relative;
                display: block;
                width: 100%;
                max-width: 25px;
                margin-right: 30px;

                @media(max-width:1560px) {
                    margin-right: 15px;
                }

                .btn-perfil {
                    display: flex;
                    outline: 0px;
                    align-items: center;
                    justify-content: center;

                    &:before {
                        @include sprite();
                        display: block;
                        content: "";
                        width: 24px;
                        height: 24px;
                        background-position: -192px -12px;
                    }
                }

                .opcoes {
                    position: absolute;
                    display: block;
                    width: 190px;
                    top: 100%;
                    left: 50%;
                    padding: 20px;
                    transform: translateX(-50%);
                    background-color: $light;
                    border: solid 1px $borders;
                    visibility: hidden;
                    pointer-events: none;
                    opacity: 0;
                    transition: visibility 0s 0.3s, opacity 0.3s linear;

                    .opt {
                        display: block;
                        outline: 0px;
                        padding: 15px 10px;
                        margin-bottom: 10px;
                        color: $textoDark;
                        font: normal 12px $fontBold;
                        text-align: center;
                        border: solid 1px $highlight;
                        @include transicao(0.4s ease-in-out);

                        &.sair,
                        &.cadastro {
                            color: $textoLight;
                            background-color: $highlight;
                        }

                        &:last-of-type {
                            margin-bottom: 0px;
                        }

                        &:hover,
                        &:focus {
                            color: $textoLight;
                            border-color: $success;
                            background-color: $success;
                        }
                    }
                }

                &:hover,
                &:focus,
                &.ativo {
                    .opcoes {
                        visibility: visible;
                        pointer-events: initial;
                        opacity: 1;
                        transition: opacity 0.3s linear;
                    }
                }
            }

            .lista-desejo {
                display: block;
                width: 100%;
                max-width: 24px;
                margin-right: 30px;

                @media(max-width:1560px) {
                    margin-right: 15px;
                }

                .btn-lista-desejo {
                    display: block;
                    outline: 0px;

                    &:before {
                        @include sprite();
                        display: block;
                        content: "";
                        width: 24px;
                        height: 24px;
                        background-position: -156px -12px;
                    }

                    @media(max-width:575px) {
                        transform: scale(0.8);
                    }
                }
            }

            .meu-carrinho {
                display: block;
                width: 100%;
                max-width: 60px;

                a {
                    display: flex;
                    outline: 0px;
                    width: 100%;
                    align-items: center;
                    justify-content: flex-start;

                    &:before {
                        @include sprite();
                        display: block;
                        content: "";
                        width: 24px;
                        height: 24px;
                        background-position: -227px -12px;
                    }

                    .qtd {
                        display: block;
                        margin: 0px;
                        max-width: calc(100% - 24px);
                        padding-left: 6px;
                        color: $textoDark;
                        font: normal 13px $fontRegular;
                    }

                    .loader {
                        display: none;
                    }
                }

                @media(max-width:575px) {
                    transform: scale(0.8);
                }
            }
        }
    }
}

#he-nav-topo {
    /*position: relative;*/
    display: block;
    width: 100%;

    nav {
        text-align: center;
        padding-left: 0px;
        padding-right: 0px;

        .container-nivel {
            display: flex;
            margin: 0px;
            flex-direction: row;
            align-items: center;
            justify-content: center;

            .li-1 {
                display: block;
                width: auto;
                border: none;
                background-color: transparent;

                &>a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                    outline: 0px;
                    width: auto;
                    color: $textoDark;
                    font: normal 15px $fontRegular;
                    line-height: 21px;
                    text-align: center;
                    padding: 42px 10px;
                    margin: 0px;
                }

                &.sub-nivel {
                    &>a {
                        position: relative;

                        &:before {
                            position: absolute;
                            display: block;
                            content: "";
                            width: 100%;
                            height: 2px;
                            left: 0px;
                            bottom: 0px;
                            background-color: $highlight;
                            visibility: hidden;
                            pointer-events: none;
                            opacity: 0;
                            transition: visibility 0s 0.3s, opacity 0.3s linear;
                        }
                    }

                    &:hover,
                    &:focus {
                        &>a {
                            &:before {
                                visibility: visible;
                                pointer-events: initial;
                                opacity: 1;
                                transition: opacity 0.3s linear;
                            }
                        }
                    }
                }

                .ul-2 {
                    position: absolute;
                    z-index: 110;
                    overflow-y: auto;
                    display: flex;
                    align-items: flex-start;
                    justify-content: center;
                    flex-wrap: wrap;
                    width: 100%;
                    max-width: 686px;
                    top: 100%;
                    left: 50%;
                    transform: translateX(-50%);
                    margin: 0px;
                    padding: 0px;
                    text-align: left;
                    background-color: $light;
                    visibility: hidden;
                    pointer-events: none;
                    opacity: 0;
                    transition: visibility 0s 0.3s, opacity 0.3s linear;

                    .li-2 {
                        position: relative;
                        z-index: 10;
                        display: block;
                        width: 100%;
                        max-width: 200px;
                        margin: 5px;

                        .url-2 {
                            display: block;
                            padding: 7px 0px;
                            color: $textoDark;
                            font: normal 15px $fontRegular;
                            line-height: 23px;

                            &:hover,
                            &:focus {
                                text-decoration: underline;
                            }
                        }

                        .ul-3 {
                            position: relative;
                            overflow-y: auto;
                            /*display: flex;*/
                            display: none;
                            width: 100%;
                            max-height: 100%;
                            align-items: flex-start;
                            justify-content: flex-start;
                            flex-wrap: wrap;

                            .li-3 {
                                display: block;
                                width: 100%;

                                a {
                                    display: block;
                                    outline: 0px;
                                    padding: 10px 20px;
                                    color: $textoDark;
                                    font: normal 14px $fontRegular;
                                    letter-spacing: 1px;

                                    &.ver-tudo {
                                        max-width: 130px;
                                        margin-top: 15px;
                                        margin-left: 20px;
                                        color: $textoMedium;
                                        font: normal 12px $fontLight;
                                        text-align: center;
                                        border: solid 1px $borders;
                                    }
                                }
                            }
                        }
                    }

                    .conteudo-ul {
                        display: flex;
                        width: 100%;
                        align-items: center;
                        justify-content: center;

                        .box-li2 {
                            display: flex;
                            width: calc(100% - 278px);
                            max-height: 333px;
                            padding: 40px;
                            flex-wrap: wrap;
                            flex-direction: column;
                            align-content: flex-start;
                            align-items: flex-start;
                            justify-content: flex-start;
                        }

                        .box-banner {
                            display: block;
                            outline: 0px;
                            width: 100%;
                            max-width: 278px;

                            img {
                                display: block;
                                width: 100%;
                                object-fit: cover;
                            }
                        }
                    }
                }

                &.open {
                    &>.ul-2 {
                        visibility: visible;
                        pointer-events: initial;
                        opacity: 1;
                        transition: opacity 0.3s linear;
                        -webkit-box-shadow: 0px 10px 20px -14px rgba(0, 0, 0, 0.2);
                        -moz-box-shadow: 0px 10px 20px -14px rgba(0, 0, 0, 0.2);
                        box-shadow: 0px 10px 20px -14px rgba(0, 0, 0, 0.2);
                    }
                }

                &:hover,
                &:focus {
                    .ul-2 {
                        visibility: visible;
                        pointer-events: initial;
                        opacity: 1;
                        transition: opacity 0.3s linear;
                        -webkit-box-shadow: 0px 10px 20px -14px rgba(0, 0, 0, 0.2);
                        -moz-box-shadow: 0px 10px 20px -14px rgba(0, 0, 0, 0.2);
                        box-shadow: 0px 10px 20px -14px rgba(0, 0, 0, 0.2);
                    }
                }
            }
        }
    }
}

#he-itens {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay {
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: $backgroundModal;
    }

    .box-itens {
        background-color: $light;
        border: none;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 130;
        width: 100%;
        height: 100%;
        max-width: 375px;
        font-size: 12px;

        .box-itens-header {
            display: block;
            width: 100%;

            .box-titulo {
                display: flex;
                width: 100%;
                padding: 20px 15px;
                align-items: center;
                justify-content: space-between;
                /*border-bottom: solid 1px $borders;*/

                .titulo {
                    display: flex;
                    width: auto;
                    align-items: center;
                    justify-content: flex-start;

                    p {
                        display: block;
                        margin: 0px;
                        color: $textoDark;
                        font: normal 15px $fontRegular;

                        &.total {
                            margin-left: 5px;
                        }
                    }
                }

                .box-itens-close {
                    @include sprite();
                    display: block;
                    content: "";
                    width: 24px;
                    height: 24px;
                    background-position: -258px -12px;
                }
            }
        }

        .lista {
            position: relative;
            flex-grow: 1;
            overflow-x: hidden;
            overflow-y: auto;
            padding: 5px;

            .lista-itens {
                position: relative;
                padding: 0px;
                margin-bottom: 15px;

                .item {
                    display: flex;
                    width: 100%;
                    margin-bottom: 5px;
                    border: solid 1px $medium;
                    align-items: center;
                    justify-content: space-between;

                    .img {
                        display: block;
                        width: 82px;
                        height: 120px;

                        img {
                            max-width: 100%;
                            max-height: 100%;
                        }
                    }

                    .info {
                        display: block;
                        color: $textoDark;
                        text-align: left;
                        width: calc(100% - 82px);

                        .box-informacoes {
                            display: flex;
                            width: 100%;
                            align-items: stretch;
                            justify-content: space-between;

                            .box-qtd {
                                display: block;
                                width: 100%;
                                max-width: 57px;

                                .prod-qtd {
                                    display: flex;
                                    width: 100%;
                                    height: 100%;
                                    flex-direction: column;
                                    align-items: center;
                                    justify-content: center;

                                    span {
                                        margin: 2px 0px;
                                        color: $textoDark;
                                        font: normal 15px $fontRegular;
                                        text-align: center;
                                    }

                                    .add {
                                        display: flex;
                                        width: 36px;
                                        height: 36px;
                                        background-color: $medium;
                                        align-items: center;
                                        justify-content: center;

                                        &:before {
                                            @include sprite();
                                            content: "";
                                            width: 12px;
                                            height: 6px;
                                            background-position: -386px -5px;
                                        }
                                    }

                                    .remove {
                                        display: flex;
                                        width: 36px;
                                        height: 36px;
                                        background-color: $medium;
                                        align-items: center;
                                        justify-content: center;

                                        &:before {
                                            @include sprite();
                                            content: "";
                                            width: 12px;
                                            height: 6px;
                                            background-position: -386px -21px;
                                        }
                                    }

                                }
                            }

                            .conteudo {
                                display: block;
                                width: calc(100% - 57px - 42px);
                                padding: 5px 0px;

                                .prod-titulo {
                                    display: block;
                                    margin: 0px;
                                    margin-bottom: 2px;
                                    color: $textoDark;
                                    font: normal 15px $fontRegular;
                                }

                                .prod-referencia {
                                    display: block;
                                    margin: 0px;
                                    margin-bottom: 18px;
                                    color: $textoMedium;
                                    font: normal 12px $fontRegular;
                                }

                                .dados {
                                    display: block;
                                    width: 100%;

                                    .prod-sku {
                                        display: block;

                                        .box-tam {
                                            display: flex;
                                            margin-right: 10px;
                                            align-items: center;
                                            justify-content: flex-start;

                                            .box-titulo {
                                                display: block;
                                                margin: 0px;
                                                margin-right: 5px;
                                                color: $textoDark;
                                                font: normal 12px $fontMedium;
                                            }

                                            span {
                                                display: block;
                                                margin: 0px;
                                                color: $textoDark;
                                                font: normal 12px $fontRegular;
                                            }
                                        }

                                        .box-cor {
                                            display: flex;
                                            align-items: center;
                                            justify-content: flex-start;

                                            .box-titulo {
                                                display: block;
                                                margin: 0px;
                                                margin-right: 5px;
                                                color: $textoDark;
                                                font: normal 12px $fontMedium;
                                            }

                                            span {
                                                display: block;
                                                margin: 0px;
                                                color: $textoDark;
                                                font: normal 12px $fontRegular;
                                            }
                                        }
                                    }

                                    .prod-preco {
                                        display: block;
                                        margin: 0px;
                                        color: $textoDark;
                                        font: normal 15px $fontBold;
                                    }
                                }
                            }

                            .item-remover {
                                position: relative;
                                display: flex;
                                outline: 0px;
                                width: 42px;
                                align-items: center;
                                justify-content: center;
                                background-color: $medium;

                                &:before {
                                    @include sprite();
                                    display: block;
                                    content: "";
                                    width: 20px;
                                    height: 20px;
                                    background-position: -335px -6px;
                                }
                            }
                        }
                    }
                }
            }

            .lista-vazia {
                position: absolute;
                display: flex;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
                align-items: center;
                justify-content: center;

                .msg-carrinho-vazio {
                    display: block;
                    width: 100%;

                    &:before {
                        display: block;
                        content: "";
                        width: 173px;
                        height: 178px;
                        margin: 0 auto;
                        margin-bottom: 15px;
                        background-image: url(../img/shopping-bag-empty.png);
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center;
                    }

                    p {
                        display: block;
                        margin: 0px;
                        color: $textoDark;
                        font: normal 14px $fontRegular;
                        text-align: center;
                    }
                }
            }
        }

        .box-itens-footer {
            display: block;
            width: 100%;

            .valores {
                display: flex;
                width: 100%;
                padding: 0px 15px;
                align-items: stretch;
                justify-content: center;
                /*border-top: solid 1px $borders;*/

                .cupom-subtotal,
                .prod-subtotal {
                    display: flex;
                    width: 50%;
                    padding: 20px 0px;
                    align-items: center;
                    justify-content: center;

                    .txt-subtotal {
                        display: block;
                        margin: 0px;
                        margin-right: 10px;
                        color: $textoDark;
                        font: normal 13px $fontRegular;
                    }

                    .vl-subtotal {
                        display: block;
                        margin: 0px;
                        color: $textoDark;
                        font: normal 13px $fontBold;
                    }
                }

                .cupom-subtotal {
                    border-right: solid 1px $borders;
                }
            }

            .rodape {
                display: flex;
                width: 100%;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                padding: 50px 15px;
                padding-top: 20px;
                gap: 10px;

                .btn-continuar {
                    display: flex;
                    outline: 0px;
                    width: 100%;
                    padding: 15px 10px;
                    color: $textoDark;
                    font: normal 15px $fontRegular;
                    text-align: center;
                    background-color: $medium;
                    align-items: center;
                    justify-content: center;
                    @include transicao(0.4s ease-in-out);

                    &:hover,
                    &:focus {
                        color: $textoLight;
                        background-color: $success;
                    }
                }

                .btn-finalizar-pedido {
                    display: flex;
                    outline: 0px;
                    width: 100%;
                    padding: 15px 10px;
                    color: $textoLight;
                    font: normal 15px $fontRegular;
                    text-align: center;
                    background-color: $highlight;
                    align-items: center;
                    justify-content: center;
                    @include transicao(0.4s ease-in-out);

                    &:hover,
                    &:focus {
                        color: $textoLight;
                        background-color: $success;
                    }
                }
            }
        }
    }

    &.ativo {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}

#he-menu {
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay {
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: $backgroundModal;
    }

    .box-menu {
        background-color: $light;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: 130;
        width: 100%;
        height: 100%;
        max-width: 375px;
        font-size: 12px;

        .box-menu-header {
            display: block;
            width: 100%;

            .titulo {
                display: flex;
                width: 100%;
                padding: 20px 15px;
                align-items: center;
                justify-content: space-between;

                p {
                    display: block;
                    margin: 0px;
                    color: $textoDark;
                    font: normal 13px $fontRegular;
                }

                .box-close {
                    @include sprite();
                    display: block;
                    width: 24px;
                    height: 24px;
                    background-position: -258px -12px;
                }
            }
        }

        .box-content {
            overflow-y: auto;
            display: flex;
            width: 100%;
            padding: 0px;
            flex-grow: 1;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;

            .opcoes {
                display: block;
                width: 100%;

                .item {
                    display: block;
                    outline: 0px;
                    padding: 15px;
                    color: $textoDark;
                    font: normal 15px $fontRegular;
                    border-top: solid 1px $borders;
                }
            }

            .menu {
                display: block;
                width: 100%;
                flex-grow: 1;
                overflow-y: auto;

                .li-1 {
                    display: block;
                    width: 100%;

                    .url-1,
                    &>a {
                        display: flex;
                        outline: 0px;
                        padding: 15px;
                        color: $textoDark;
                        font: normal 15px $fontRegular;
                        text-transform: uppercase;
                        align-items: center;
                        justify-content: space-between;
                        border-top: solid 1px $borders;
                        @include transicao(0.4s ease-in-out);
                    }

                    .ul-2 {
                        display: none;
                        width: 100%;

                        .li-2 {
                            display: block;
                            width: 100%;

                            .url-2 {
                                display: block;
                                outline: 0px;
                                padding: 10px 0px;
                                padding-left: 40px;
                                color: $textoDark;
                                font: normal 13px $fontRegular;
                                @include transicao(0.4s ease-in-out);
                            }

                            .ul-3 {
                                /*display: block;*/
                                display: none;
                                width: 100%;

                                a {
                                    display: block;
                                    outline: 0px;
                                    padding: 5px 0px;
                                    padding-left: 40px;
                                    color: $textoDark;
                                    font: normal 10px $fontRegular;
                                }
                            }
                        }

                        .conteudo-ul {
                            display: block;
                            width: 100%;

                            .box-li2 {
                                display: block;
                                width: 100%;
                            }

                            .box-banner {
                                display: none;
                            }
                        }
                    }

                    &.sub-nivel {

                        .url-1,
                        &>a {
                            &:after {
                                @include sprite();
                                /*display: block;*/
                                display: none;
                                content: "";
                                width: 12px;
                                height: 6px;
                                margin-left: 5px;
                                background-position: -453px -67px;
                            }
                        }
                    }
                }
            }

            .box-login {
                display: flex;
                width: 100%;
                align-items: stretch;
                justify-content: center;
                border-top: solid 1px $borders;
                border-bottom: solid 1px $borders;

                .item {
                    display: block;
                    outline: 0px;
                    width: 50%;
                    padding: 15px 10px;
                    color: $textoDark;
                    font: normal 15px $fontRegular;
                    line-height: 23px;
                    text-align: center;
                    background-color: #F5F5F5;

                    &:first-of-type {
                        border-right: solid 1px $borders;
                    }

                    &:last-of-type {
                        color: $textoLight;
                        background-color: $highlight;
                    }
                }
            }
        }
    }

    &.ativo {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}

#he-desejo {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay {
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: $backgroundModal;
    }

    .box-section {
        background-color: $light;
        border: none;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 130;
        width: 100%;
        height: 100%;
        max-width: 375px;
        font-size: 12px;

        .section-header {
            display: flex;
            width: 100%;
            padding: 20px 15px;
            align-items: center;
            justify-content: space-between;

            p {
                display: block;
                margin: 0px;
                color: $textoDark;
                font: normal 15px $fontRegular;
            }

            .btn-close {
                @include sprite();
                display: block;
                content: "";
                width: 24px;
                height: 24px;
                background-position: -258px -12px;
            }
        }

        .lista {
            position: relative;
            overflow-y: auto;
            display: block;
            width: 100%;
            flex-grow: 1;

            .lista-loading {
                position: absolute;
                z-index: 1;
                display: none;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
                align-items: center;
                justify-content: center;
                background-color: rgba(255, 255, 255, 0.6);

                img {
                    display: block;
                    width: 100%;
                    max-width: 30px;
                }
            }

            .lista-itens {
                overflow-x: hidden;
                position: relative;
                padding: 0px;
                height: 100%;

                .item {
                    display: flex;
                    width: 100%;
                    margin-bottom: 5px;
                    border: solid 1px $borders;

                    .img {
                        display: flex;
                        outline: 0px;
                        width: 82px;
                        height: 120px;
                        align-items: center;
                        justify-content: center;

                        img {
                            max-width: 100%;
                            max-height: 100%;
                        }
                    }

                    .info {
                        display: flex;
                        width: calc(100% - 82px);
                        padding-left: 15px;
                        align-items: flex-start;
                        justify-content: space-between;

                        .conteudo {
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            outline: 0px;
                            width: calc(100% - 42px);
                            height: 100%;
                            padding-right: 10px;

                            .prod-titulo {
                                display: block;
                                margin: 0px;
                                margin-bottom: 5px;
                                color: $textoDark;
                                font: normal 15px $fontRegular;
                            }

                            .prod-referencia {
                                display: block;
                                margin: 0px;
                                color: $textoMedium;
                                font: normal 12px $fontRegular;
                            }
                        }

                        .item-remover {
                            display: flex;
                            outline: 0px;
                            width: 42px;
                            height: 100%;
                            background-color: $medium;
                            align-items: center;
                            justify-content: center;

                            &:before {
                                @include sprite();
                                display: block;
                                content: "";
                                width: 20px;
                                height: 20px;
                                background-position: -335px -6px;
                            }
                        }
                    }

                    &:last-of-type {
                        margin-bottom: 0px;
                    }
                }
            }

            .lista-vazia {
                position: absolute;
                display: flex;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
                padding: 15px;
                align-items: center;
                justify-content: center;

                .msgLista {
                    display: block;
                    margin: 0px;
                    color: $textoDark;
                    font: normal 12px $fontBold;
                    text-align: center;

                    &:before {
                        display: block;
                        content: "";
                        width: 173px;
                        height: 178px;
                        margin: 0 auto;
                        margin-bottom: 15px;
                        background-image: url(../img/shopping-bag-empty.png);
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center;
                    }
                }
            }
        }

        .section-rodape {
            display: flex;
            width: 100%;
            flex-direction: column;
            align-items: center;

            .btn-remover,
            .btn-cadastro,
            .btn-login,
            .btn-pedido-add {
                display: block;
                outline: 0px;
                width: 100%;
                color: $textoLight;
                font: normal 15px $fontRegular;
                text-align: center;
                padding: 15px 10px;
                border: none;
                background-color: $highlight;
                @include transicao(0.4s ease-in-out);

                &:hover {
                    color: $textoLight;
                    border-color: $success;
                    background-color: $success;
                }
            }

            .btn-cadastro,
            .btn-pedido-add {
                color: $textoDark;
                background-color: $medium;
            }
        }
    }

    &.ativo {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}

#mod-search {
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay {
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: $backgroundModal;
    }

    .box-content {
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
        display: block;
        position: absolute;
        z-index: 130;
        width: 100%;
        max-width: 615px;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;

        @media(max-width:615px) {
            top: 0px;
        }

        .mobile-busca {
            position: relative;
            display: block;
            width: 100%;

            .he-search {
                display: flex;
                overflow: hidden;
                width: 100%;
                padding: 17px 20px;
                align-items: center;
                justify-content: center;
                background-color: #F8F8F8;
                border: solid 1px #E5E5E5;

                .he-bt-search {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    outline: 0px;
                    width: 26px;
                    height: 26px;
                    border: none;
                    box-shadow: none;
                    background-color: transparent;
                }

                .he-input-search {
                    flex-grow: 1;
                    display: block;
                    outline: 0px;
                    width: auto;
                    padding: 15px 10px;
                    border: none;
                    box-shadow: none;
                    color: $textoDark;
                    font: normal 16px $fontRegular;
                    line-height: 19px;
                    background-color: transparent;
                }

                .ctrl-mod {
                    display: block;
                    outline: 0px;
                    margin: 0px;
                    padding: 12px 16px;
                    color: $textoDark;
                    font: normal 12px $fontBold;
                    line-height: 13px;
                    letter-spacing: 0.04em;
                }
            }

            .hint-search {
                width: 100%;
                padding: 30px 85px;
                height: calc(100vh - 173px);

                @media(max-width:615px) {
                    padding-left: 15px;
                    padding-right: 15px;
                    height: calc(100vh - 75px);
                }
            }
        }
    }

    &.ativo {
        visibility: visible;
        pointer-events: initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}

#sidebar-add-pedido-by-favoritos {
    background-color: #FFFFFF;
    border: none;
    bottom: 0;
    box-shadow: 2px 2px 3px $backgroundModal;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    max-width: 375px;
    position: fixed;
    right: 0px;
    width: 100%;
    top: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    &.active {
        visibility: visible;
        pointer-events: initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }

    .header {
        display: flex;
        width: 100%;
        padding: 30px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;

        &:after {
            display: block;
            content: "";
            width: 100%;
            height: 1px;
            margin-top: 20px;
            background-color: $borders;
        }

        h2 {
            display: block;
            margin: 0px;
            color: $textoDark;
            font: normal 15px $fontRegular;
            line-height: 23px;
        }

        .btn-close {
            display: flex;
            outline: 0px;
            width: 20px;
            height: 20px;
            align-items: center;
            justify-content: center;

            &:before {
                @include sprite();
                display: block;
                content: '';
                width: 15px;
                height: 15px;
                background-position: -263px -16px;
            }
        }
    }

    .body {
        flex-grow: 1;
        overflow-y: auto;
        padding: 10px 30px;

        .form-group {
            margin-bottom: 20px;

            label {
                display: block;
                margin: 0px;
                margin-bottom: 10px;
                color: $textoDark;
                font: normal 15px $fontBold;
            }

            .form-control {
                display: block;
                outline: 0px;
                width: 100%;
                height: auto;
                padding: 15px 10px;
                color: $textoDark;
                font: normal 15px $fontRegular;
                border: solid 1px $borders;
                border-radius: 0px;
                box-shadow: none;
            }

            &:last-of-type {
                margin-bottom: 0px;
            }
        }
    }

    .footer {
        display: block;
        width: 100%;
        padding: 30px;

        .btn-add-pedido-escolha {
            display: block;
            outline: 0px;
            width: 100%;
            padding: 15px 10px;
            color: $textoLight;
            font: normal 15px $fontRegular;
            text-align: center;
            background-color: $highlight;
            @include transicao(0.4s ease-in-out);

            &:hover,
            &:focus {
                border-color: $success;
                background-color: $success;
            }
        }
    }
}