/* tela de splash */
:root {
    --cor-ciclo-primaria: #CD1417;
    --cor-topbar: #272e61;
    /* --cor-ciclo-secundaria: #568156; */
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cor-topbar);
    z-index: 800;
    color: white;
    text-align: center;
    line-height: 90vh;
}

.splash-container {
    width: 100%;
    position: absolute;
    top: 50%;
}

.splash-screen.display-none {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    z-index: -10;
    color: white;
    text-align: center;
    line-height: 90vh;
    transition: all 1s;
}

.logotipo-splash {
    width: 200px;
    height: 60px;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-size: 100%;
    margin: auto;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in {
    font-size: 12px;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

/* menu superior*/
.top {
    display: flex;
    align-items: center;
    width: 100%;
    height: 65px;
    background: var(--cor-topbar);
    justify-content: center;
    color: #FFF;

    z-index: 97;
    position: relative;
}

/* ----- Barra (DROPBAR) Indices ----- */
.barra-indice {
    width: 100%;
    max-height: 0;
    /* Começa com altura máxima 0 */
    background-color: #f5926e;
    background-color: #ffffff;
    display: flex;
    /* Para o conteúdo interno */
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10;
    overflow: hidden;
    /* Oculta o conteúdo que excede a altura */
    transition: max-height 0.4s ease;
    /* Animação de max-height */
}

.barra-indice.show {
    max-height: 5vh ;
    /* Altura máxima quando visível */
}

.title-markers {
    display: flex;
    justify-content: center;
    align-items: center;

    transition: opacity 0.5s ease;
    width: 15%;
    cursor: pointer;
    padding: 5% 0;

    &>.title-markers-text {
        margin-bottom: 0%;

        color: #1A1A1A;
        text-align: center;
        font-weight: 500;
        font-size: 15px;
        text-transform: uppercase;
    }

    &>.title-markers-icon {
        padding: 0 5%;

        height: 100%;
        font-size: 25px;
    }

    /* ----- Displays p/ Responsividade ----- */
    .title-markers-text {
        display: block;
    }
    .title-markers-icon {
        display: none;
    }
}

/* ---- SWIPER MARCADORES ---- */
.swiper {
    box-shadow: inset 6px 0px 20px 0px rgba(0, 0, 0, 0.15);

    width: 100%;
}
.swiper-wrapper {}

.swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;

    &>.btn-marker {
        display: flex;
        justify-content: center;
        align-items: center;
        
        z-index: 999;

        width: 100%;    

        padding: 5% 0;
        /* border-bottom: 3px solid white; */

        cursor: pointer;
        /* border: 1PX solid #000; */

        &>#edit-marker {
            position: absolute;
            right: 7%;
            top: 0;
            z-index: 1000;

            margin: 0;
            padding: 0;

            /* height: 1%; */
            /* width: 100%; */

            text-align: end;

            background-color: transparent;
            border: none;

            & > i {
                font-size: 20px;
            }
        }
        &>.text-marker {
            
            margin-bottom: 0 !important;
            /* width: 13%; */
            /* transition: opacity 0.5s ease;  */

            border-bottom: 3px solid #000;
            
            color: #1A1A1A;
            font-size: 14px;
            text-align: center;
            font-weight: 500;
            text-transform: uppercase;
            
            cursor: pointer;
        }
    }


}




/* ----- FIM - Barra (DROPBAR) Indices ----- */

/* logo */
.logotipo {
    width: 130px;
    height: 45px;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

/* container interno do menu superior */
.menu-container {
    width: 40%;
    display: flex;
    align-items: center;
}

/* Divisão do MENU em 3 partes  */
.menu-container-left>a {
    margin-left: 5%;
}

.menu-container-center {
    justify-content: space-evenly;
}

.menu-container-right {
    justify-content: end;
}

.menu-container-sub {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* botões */
.dropdown {
    display: none;
}

.bx-skip-previous,
.bx-skip-next {
    font-size: 30px !important;
}

.botao-primeira-pagina {
    margin-right: 15px;
}

.botao-ultima-pagina {
    margin-left: 15px;
}

.botao-comprar,
.botao-pesquisar {
    font-size: 20px;
}

.botao-comprar:hover,
.botao-pesquisar:hover {
    cursor: pointer;
    color: var(--cor-ciclo-primaria);
}

.botao-menu {
    display: none;
}

.botao-indice {
    font-size: 22px;
    margin-top: 2px;
}

.botao-indice:hover {
    cursor: pointer;
    color: var(--cor-ciclo-primaria);
}

.botao-indice-texto {
    font-size: 16px;
}

.botao-compartilhar {
    margin-top: 2px;
    margin-left: 85px;
    font-size: 19px;
}

.botao-compartilhar:hover {
    cursor: pointer;
    color: var(--cor-ciclo-primaria);
}

.botao-download {
    font-size: 20px;
}

.botao-download:hover {
    cursor: pointer;
    color: var(--cor-ciclo-primaria);
}

.icone-download {
    color: white;
}

.icone-download:hover {
    color: #000000;
}

.botao-anterior {
    font-size: 20px;
}

.botao-anterior:hover {
    cursor: pointer;
    color: var(--cor-ciclo-primaria);
}

.botao-proximo {
    font-size: 20px;
}

.botao-proximo:hover {
    cursor: pointer;
    color: var(--cor-ciclo-primaria);
}

.indicador-indice {
    font-size: 16px;
}

/* ---- INPUT PAGINACAO DA REVISTA ----  */
.pagina-atual {
    outline: none;
    /* Remove a borda padrão */
    border: none;
    /* Remove qualquer borda adicional, se necessário */
    margin: 0;
    padding: 0;

    /* width: 20%; */

    background-color: #373e75;
    border: none;
    border-bottom: 1px solid #fff;

    color: #fff;
    text-align: center;
}

/* SIDEBAR - CARRINHO DE COMPRAS */
.titulo-carrinho {
    height: 8%;

    margin: 0;
    padding: 5% 0;

    color: grey;
    font-size: 18px;
    text-align: center;
}

.limpar-carrinho:hover {
    cursor: pointer;
    color: #000000;
}

#popup-clear-cart,
#popup-remove-item {
    display: none;

    position: absolute;
    z-index: 1000;

    width: 100vw;
    height: 100dvh;

    background-color: rgba(0, 0, 0, 0.3);


    &>.content-popup-clear-cart {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        padding: 1%;

        width: 25%;

        background-color: #fff;
        border-radius: 3px;

        &>.title-confirm {
            text-align: center;
            font-size: 25px;
            font-weight: 700;
            margin-bottom: 1%;
        }

        &>.text-confirm {
            text-align: center;
            font-size: 17px;
            margin-bottom: 5%;
        }

        &>.btns-confirm {
            display: flex;
            justify-content: space-between;
            align-items: center;

            width: 100%;

            &>button {
                padding: 2% 5%;

                background-color: var(--cor-ciclo-primaria);
                border: none;
                border-radius: 5px;

                color: #fff;
                font-weight: 700;

                &:first-child {
                    background-color: rgb(189, 187, 187);
                }
            }
        }
    }
}

.lista-produtos {
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100% - 23%);
    padding: 3% 0;
}

.container-rodape-itens {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    height: 15%;

    position: absolute;
    bottom: 0%;

    padding-top: 5%;

    background-color: #fff;
    /* border-top: 2px solid lightgray; */
    box-shadow: 0px -1px 10px 0px #00000041;

    &>.rodape-itens {
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 0 3%;
        margin-bottom: 3%;

        width: 100%;

        &>p {
            margin: 0;
        }

        &>button {
            padding: 2% 5%;

            background-color: var(--cor-ciclo-primaria);
            border: none;
            border-radius: 5px;

            color: #fff;
            font-size: 15px;
            font-weight: 700;
            text-transform: uppercase;

            &:disabled {
                opacity: 0.5;
            }
        }
    }

    &>.rodape-carrinho {
        width: 100%;
        /* height: 25%; */
    }
}


.rodape-carrinho p {
    font-weight: 600;
    margin: 0 15px;
}

.rodape-carrinho p span {
    font-weight: 400;
}

.rodape-carrinho p:first-child {
    margin-top: 25px;
}

.botao-enviar {
    width: 319px;
    height: 48px;
    position: sticky;
    bottom: 5px;
    text-align: center;
    background-color: #25D366;
    border: 0;
    border-radius: 5px;
    color: #FFF;
    margin: 0px 10px 10px 10px;
    cursor: pointer;
}

.botao-enviar:hover {
    background-color: var(--cor-ciclo-primaria);
}

.botao-enviar:disabled {
    background-color: var(--cor-ciclo-primaria);
    color: hsla(0, 0%, 100%, 0.3);
    cursor: not-allowed;
}

.nome-produto {
    font-size: 14px;
    font-weight: 700;
    color: #555555;
    margin-left: 15px;
    margin-bottom: 1%;
}

.preco-produto {
    font-size: 16px;
    color: #555555;
    margin-left: 15px;
    margin-bottom: 2%;
}

.hide {
    display: none;
}

.quantidade-produto {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 2%;

    width: 100%;

    margin-left: 15px;
    margin-bottom: 3%;
    padding-bottom: 3%;

    border-bottom: 1px solid lightgray;

    font-size: 15px;

    &:last-child {
        border: none;
    }

    &>.menos {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 30px;
        height: 30px;

        /* margin: 1% 5%; */
        padding: 0px;

        background-color: var(--cor-ciclo-primaria);
        border: 2px solid var(--cor-ciclo-primaria);
        border-radius: 50px;

        color: #FFF;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        vertical-align: middle;

        &:hover {
            border: 2px solid var(--cor-ciclo-primaria);
            border-radius: 50px;
        }

    }

    &>.input-qtd-produto {
        width: 20%;

        margin: 0;

        background-color: rgba(211, 211, 211, 0.418);
        border: none;
        border-bottom: 1px solid darkgray;
        border-radius: 5px;

        font-weight: 700;
        font-size: 18px;
        text-align: center;
    }

    &>.mais {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 30px;
        height: 30px;

        /* margin: 1% 5%; */
        padding: 0px;

        background-color: var(--cor-ciclo-primaria);
        border: 2px solid var(--cor-ciclo-primaria);
        border-radius: 50px;

        color: #FFF;
        text-align: center;
        font-size: 18px;
        font-weight: bold;

        &:hover {
            border: 2px solid var(--cor-ciclo-primaria);
            border-radius: 50px;
        }

    }

    &>.add-dezena {
        display: flex;
        justify-content: center;
        align-items: center;

        /* width: 40px;
        height: 30px; */

        /* margin: 1% 5%; */
        padding: 0 1%;

        background-color: var(--cor-ciclo-primaria);
        border: 2px solid var(--cor-ciclo-primaria);
        border-radius: 3px;

        color: #FFF;
        text-align: center;
        font-size: 17px;
        font-weight: bold;

        &:hover {
            border: 2px solid var(--cor-ciclo-primaria);
            border-radius: 3px;
        }
    }

    &>.add-centena {
        display: flex;
        justify-content: center;
        align-items: center;

        /* width: 50px;
        height: 30px; */

        /* margin: 1% 5%; */
        padding: 0 1%;

        background-color: var(--cor-ciclo-primaria);
        border: 2px solid var(--cor-ciclo-primaria);
        border-radius: 3px;

        color: #FFF;
        text-align: center;
        font-size: 17px;
        font-weight: bold;

        &:hover {
            border: 2px solid var(--cor-ciclo-primaria);
            border-radius: 3px;
        }
    }

    &>.remover {
        display: flex;
        justify-content: center;
        align-items: center;

        margin-left: 1%;
        padding: 0;

        background-color: transparent;
        border: none;

        &>.bi-trash-fill {
            /* margin-left: 10px; */

            color: grey;
            font-size: 18px;

            &:hover {
                color: #000000;

                cursor: pointer;
            }
        }
    }
}

#marker-popup {
    display: none;
    justify-content: center;
    /* align-items: self-start; */
    padding-top: 4%;

    position: absolute;
    z-index: 1000;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.3);

    &>.content-marker-popup {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        padding: 1.5%;

        width: 30%;
        height: max-content;

        background-color: white;
        border-radius: 5px;

        &>p {
            margin: 0;

            font-size: 20px;
        }

        &>.marker-inputs {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            gap: 1vw;

            margin: 5% 0;

            width: 100%;

            &>#marker-name {
                padding: 2% 5%;
                /* padding-left: 10%; */
                width: 100%;

                border: 1px solid #00000073;
                border-radius: 20px;
            }

            &>#marker-color {
                /* margin-left: 3%; */

                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                background-color: transparent;

                max-width: 30px;
                min-width: 30px;

                border: none;
                cursor: pointer;

                &::-webkit-color-swatch {
                    border-radius: 50px;
                    /* border: 1px solid #000000; */
                }

                &::-moz-color-swatch {
                    border-radius: 50px;
                    /* border: 1px solid #000000; */
                }
            }
        }

        &>.marker-buttons {
            display: flex;
            justify-content: space-between;

            width: 100%;

            &>button {
                padding: 2% 5%;
                background-color: var(--cor-ciclo-primaria);
                border: none;
                border-radius: 5px;
                color: #fff;
                font-weight: 700;

                &:first-child {
                    background-color: rgb(189, 187, 187);
                }

                &:disabled {
                    opacity: .5;
                }
            }
        }
    }
}


/* input de quantidade de produtos */
.input-number-group {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.input-number-group input[type=number]::-webkit-inner-spin-button,
.input-number-group input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

.input-number-group .input-group-button {
    line-height: calc(80px/2 - 5px);
}

.input-number-group .input-number {
    width: 80px;
    padding: 0 12px;
    vertical-align: top;
    text-align: center;
    outline: none;
    display: block;
    margin: 0;
}

.input-number-group .input-number,
.input-number-group .input-number-decrement,
.input-number-group .input-number-increment {
    border: 1px solid #cacaca;
    height: 40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 0;
}

.input-number-group .input-number-decrement,
.input-number-group .input-number-increment {
    display: inline-block;
    width: 40px;
    background: #e6e6e6;
    color: #0a0a0a;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 400;
}

.input-number-group .input-number-decrement {
    margin-right: 0.3rem;
}

.input-number-group .input-number-increment {
    margin-left: 0.3rem;
}

#button-ofertas {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    z-index: 100;
    right: 20px;
    bottom: 20px;

    width: 15vw;
    height: 15vw;

    background-color: var(--cor-ciclo-primaria);
    border: none;
    border-radius: 50%;
    box-shadow: 1px 3px 10px 0px #000000bd;

    & > i {
        margin: 0;
        padding: 0;

        color: #fff;
        font-size: 25px;

        transform: translateY(1px);
    }

    &:focus-visible {
        outline: 0 !important;
    }
    &:active, &:hover {
        transform: scale(1.1);
        transition: .3s all linear;
    }
}
@media screen and (min-width: 641px) {
    #button-ofertas {
        width: 10vw;
        height: 10vw;

        & > i {
            font-size: 27px;
        }
    
    }
}
@media screen and (min-width: 1024px) {
    #button-ofertas {
        width: 7vw;
        height: 7vw;

        & > i {
            font-size: 30px;
        }
    
    }
}
@media screen and (min-width: 1440px) {
    #button-ofertas {
        width: 5vw;
        height: 5vw;

        & > i {
            font-size: 25px;
        }
    
    }
}
@media screen and (min-width: 1920px) {
    #button-ofertas {
        width: 4vw;
        height: 4vw;

        & > i {
            font-size: 27px;
        }
    
    }
}



/* tablet */
@media (min-width: 900px) {
    .top {
        display: flex;
        align-items: center;
        width: 100%;
        height: 65px;
        /* background: var(--cor-topbar); */
        justify-content: center;
        color: #FFF;
    }

    .logotipo {
        width: 140spx;
        background-image: url('../img/logo.png');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    /* .menu-container-sub {
        display: block;
    } */

    .botao-compartilhar {
        display: none;
    }

    /* botões */
    .bx-skip-previous,
    .bx-skip-next {
        display: block;
    }

    .botao-comprar,
    .botao-pesquisar {
        margin: 0 5%;
        font-size: 19px;
    }

    .botao-menu {
        display: inline;
        margin-left: 15px;
        font-size: 19px;
    }

    /* Botão de dropdown */
    .dropdown {
        display: none;
    }

    .dropdown .dropbtn {
        font-size: 19px;
        border: none;
        outline: none;
        color: white;
        background-color: inherit;
        font-family: inherit;
    }

    .dropdown-content {
        border-radius: 0px 0px 10px 10px;
        display: none;
        position: absolute;
        right: 0px;
        top: 5vh;
        background: #bfa882;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 100;
        padding: 6px;
    }

    /* Links dentro do dropdown */
    .dropdown-content a {
        font-size: 12px;
        float: none;
        color: #D4D4D4;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        text-align: left;
        border-radius: 10px;
    }

    .dropdown-content i {
        font-size: 14px;
        margin-left: 2px;
    }

    .dropdown-content a:hover {
        color: #000000;
        background-color: #1A1A1A;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .indice-lg {
        display: block;
    }

    .indice-sm {
        display: none;
    }

}

@media screen and (max-width: 1024px) and (min-width: 700px) {
    #marker-popup {
        padding-top: 10% !important;
        align-items: unset !important;

        &>.content-marker-popup {
            width: 60% !important;
            padding: 5%;
        }
    }   
}

@media screen and (max-width: 1440px) and (min-width: 1024px) {
    .lista-produtos{
        height: calc(100% - 30%) !important;
    }
    .container-rodape-itens {
        height: 22%;
        /* background-color: red; */
    }
}



@media (max-width: 800px) {
    /* #button-ofertas {
        width: 15vw;
        height: 15vw;

        font-size: 20px;
    } */
    .pagina-atual {
        width: 50%;
    }

    .top {
        display: flex;
        align-items: center;
        width: 100%;
        height: 65px;
        /* background-color: #bfa882; */
        /* background: var(--cor-ciclo-primaria); */

        justify-content: center;
        color: #FFF;
    }

    .menu-container {
        width: 50%;
    }

    .botao-home {
        display: none;
    }

    .botao-primeira-pagina {
        margin: 0;
    }

    .botao-ultima-pagina {
        margin: 0;
    }

    .btn-nav {
        margin: 0 !important;
    }

    .content-popup-clear-cart {
        width: 90% !important;
        padding: 5% !important;
    }

    .lista-produtos {
        height: calc(100% - 28%);
    }

    .container-rodape-itens {
        height: 20%;
    }

    .logotipo {
        width: 110px;
        position: absolute;
        left: 5px;
        top: 14px;
        background-image: url('../img/logo.png');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    /* .menu-container-sub {
        display: none;
    } */

    .botao-compartilhar {
        display: none;
    }

    /* botões */
    .bx-skip-previous,
    .bx-skip-next {
        display: none;
    }

    .botao-comprar,
    .botao-pesquisar {
        margin: 0 7%;
        font-size: 19px;
    }

    .botao-menu {
        display: inline;
        /* margin-left: 15px; */
        font-size: 19px;
    }

    /* Botão de dropdown */
    .dropdown {
        display: block;
    }

    .dropdown .dropbtn {
        font-size: 19px;
        border: none;
        outline: none;
        color: white;
        background-color: inherit;
        font-family: inherit;
    }

    .dropdown-content {
        border-radius: 0px 0px 10px 10px;
        display: none;
        position: absolute;
        right: 0px;
        top: 5vh;
        background: #bfa882;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 100;
        padding: 6px;
    }

    /* Links dentro do dropdown */
    .dropdown-content a {
        font-size: 12px;
        float: none;
        color: #D4D4D4;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        text-align: left;
        border-radius: 10px;
    }

    .dropdown-content i {
        font-size: 14px;
        margin-left: 2px;
    }

    .dropdown-content a:hover {
        color: #000000;
        background-color: #1A1A1A;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .title-markers-text {
        display: none !important;
    }

    .title-markers-icon {
        display: block !important;
    }

    .indices {
        font-size: 16px;
        margin: 0;
        height: 100% !important;
        text-align: center;
    }

    .indices.show {
        opacity: 1;
    }

    .indices:hover {
        font-weight: 700;
    }

    .indice-lg {
        display: none;
    }

    .indice-sm {
        display: block;
    }

    .menu-container-center {
        justify-content: center;
    }

    .menu-container-right {
        /* justify-content: space-between; */
    }

    .input-search {
        width: 60%;
    }

    #marker-popup {
        padding-top: 20%;
        align-items: center;

        &>.content-marker-popup {
            width: 90%;
            padding: 5%;
        }
    }
}

@media (max-height: 640px) {
    /* .lista-produtos {
        overflow-y: scroll;
        height: 63%;
    } */

    .lista-produtos{
        height: calc(100% - 33%) !important;
    }
    .container-rodape-itens {
        height: 25%;
        /* background-color: red; */
    }
}