:root {
    --mainColor: #f6f8fa;
    --darkBlack: #2d2f31;
    --darkGrey: #61666b;
    --grey: #d5d5d5;
    --lightGrey: #f2f2f2;
    --yellow: #fecb40;
    --red: #df113c;
    --darkRed: #ac1032;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}

body {
    width: 100%;
    height: auto;
    color: var(--darkBlack);
}

.label-address {
    position: fixed;
    top: 23;
    right: 140px;
    z-index: 5;
    cursor: pointer;
}
.label-cart {
    position: fixed;
    top: 23;
    right: 20;
    z-index: 6;
    cursor: pointer;
}
.label-close {
    position: fixed;
    top: 23;
    right: 20;
    z-index: 7;
    cursor: pointer;
}

.label-cart .valorCarrinho {
    color: var(--darkBlack);
    margin-right: 5px;
}

.menu-top {
    position: fixed;
    background-color: #ffffff;
    border-bottom: solid 1px #e3e3e3;
    color: var(--darkGrey);
    width: 100%;
    text-align: center;
    padding: 15px 15px 15px 40px;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}
.input-container {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    align-items: center;
}
.icon {
    padding: 10px;
    color: var(--darkGrey);
    min-width: 50px;
    text-align: center;
}
.logo {
    margin-right: 5%;
    /*width: 150px;*/
    font-family:'Hancock';
    color: #f8520b;
    margin-bottom: 0;;
}
.input-field {
    border: none;
}
input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 10px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAQAAACJ4248AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAAAqo0jMgAAAAlwSFlzAAAAYAAAAGAA8GtCzwAAAAd0SU1FB+cMDhcQJmMcOfEAAAHySURBVFjDtZexS8NAFId/dyo46p6gNG4WQXTQwSH/g4PiUEGMXVzcdBVHJxc7ujs6alsQFJpBeFSnHgjJ2uBebRxUUJvk7qXJTR16933t3Xu/OwAAkecRRRE1fL9rOQ5KGl3Lcajh+0RRROR5ACCIPA90eYklIQAAKgjkoetWQ6WKhg8vWi04tg0AoDjGUr0uiKIImJ398+2CJUbgP+MpiiQeEyCObQ8vWq0itiMVDgBNpaQ83dqCCoIyJDLhKgjk3fa2rIZKTU5tbIiD19dEiYd2+3lzYYELf7mZm4vt29tU+PcWi98TPs7a7bgxPz8yYSYMJ45cd/G61zOFp67173wJ44mGEhz4iMC4Elx4okBeiTzwVAGuRF54poCphNgdDPLCtQKAvpYBQFdqWetrBbT/RNJgtHIjAZYEM0eMBYwkcoSY5Ahox4oQYk2wflTxW8Bs2+UcQoaEdgu6luO8D+7v0+o8McrfLOtjp9k0ifJMAZNIHTfK87Xif6d9nADjh1FKqeWV4MWxps7zSJhfSAybDFfC7ErG7HAcCVE0nCshtFfnMR4oJmsLavg+1ldXi4YbSZz7vsR0pVIWHACqoVLy0HUTO+ZMpSKxfHwMiuMy4JkSFMfYOzn5+lzb36erfp9qnU7pz/Nap0NX/f7P8/wTu7VgAOpCrNAAAAAASUVORK5CYII=);
    background-size: 10px 10px;
    cursor: pointer;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: var(--red);
    z-index: 1;
    padding-top: 57px;
}
.sidebar-menu {
    width: 100%;
    text-align: center;
    padding: 10px 5px;
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-menu > a {
    text-decoration: none;
    font-size: 1.0rem;
    line-height: 1.5;
    color: var(--yellow);
}
.sidebar-menu:hover {
    border-right: 5px solid var(--yellow);
    color: var(--yellow);
    background-color: var(--darkRed);
}
.sidebar-menu:hover > a {
    color: var(--yellow);
}

.dashboard {
    height: 100%;
    width: 100%;
    padding-right: 380px;
    padding-left: 30px;
    margin-top: 1.5rem;
}

.dashboard-banner .banner {
    width: 100%;
    height: 300px;
    position: relative;
    margin-top: 4rem;
    padding: 1rem;
    border-radius: 30px;
    cursor: pointer;
}

.dashboard-banner .banner > img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 30px;
}

button.slick-next.slick-arrow {
    display: none !important;
}

.banner-promo {
    position: absolute;
    color: var(--lightGrey);
    top: 25%;
    left: 10%;
    font-weight: 800;
}

.banner-promo > h1 > span {
    color: var(--yellow);
}

.dashboard-title {
    padding: 0 1rem;
}

.dashboard-menu {
    display: flex;
    gap: 10px;
    padding: 0.5rem 1rem;
    overflow-x: auto;
    margin-top: 10px;
}

.dashboard-menu > a {
    text-decoration: none;
    text-align: center;
    border-radius: 20px;
    min-width: 200px;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--darkBlack);
    background-color: var(--lightGrey);
}

.dashboard-menu > a:hover{
    background-color: var(--red);
    color: var(--lightGrey)
}

.dashboard-produtos {
    margin-top: 20px;
}

.dashboard-content {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 0.5rem 1rem 1rem 1rem;
}

.dashboard-card {
    background-color: var(--mainColor);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}

.dashboard-card:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px 15px 0px 0px;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #ffffff8c;
    border-radius: 15px;
}
.dashboard-card:hover .overlay {
    opacity: 1;
}
.text {
    color: var(--lightGrey);
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--red);
    padding: 10px;
    border-radius: 5px;
}
.text h4{
    margin-bottom: 0px;
}
.btnAdd{
    display: none;
    padding: 10px;
    text-align: center;
    background: var(--red);
    border-radius: 0px 0px 15px 15px;
    color: var(--lightGrey);
}

.card-details {
    padding: 10px;
}

.card-details > h4 > span {
    float: right;
}

.card-time {
    color: var(--darkBlack);
    font-size: 0.8rem;
    padding-top: 10px;
}

.dashboard-order {
    width: 370px;
    min-height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0.5rem 1.5rem;
    background-color: var(--mainColor);
    z-index: 5;
}
.dashboard-monte {
    width: 370px;
    min-height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0.5rem 1.5rem;
    background-color: var(--mainColor);
    z-index: 6;
    height: 100vh;
    overflow-y: scroll;
}

.removerProduto {
    font-size: 14px;
    color: var(--darkGrey);
    cursor: pointer;
}

.dashboard-order > h3, .dashboard-monte > h3 {
    padding: 10px 0;
    margin-top: 4px;
}

.order-address > h4 {
    line-height: 2;
}

.order-time {
    font-size: 0.8rem;
    color: var(--darkBlack);
}

.order-wrapper {
    height: 100%;
    overflow: auto;
}
.order-wrapper-monte, .pastelMontado {
    height: 310px;
    width: 100%;
    overflow-y: scroll;
}
.order-wrapper-monte {
    height: 380px;
}
.pastelMontado {
    margin: 20px 0;
}

/* custom scroll */

.order-wrapper::-webkit-scrollbar, .order-wrapper-monte::-webkit-scrollbar, .dashboard-monte::-webkit-scrollbar {
    width: 7px;
}

.order-wrapper::-webkit-scrollbar-track, .order-wrapper-monte::-webkit-scrollbar-track, .dashboard-monte::-webkit-scrollbar-track {
    background-color: var(--lightGrey);
    border-radius: 20px;
}

.order-wrapper::-webkit-scrollbar-thumb, .order-wrapper-monte::-webkit-scrollbar-thumb, .dashboard-monte::-webkit-scrollbar-thumb {
    background-color: var(--darkBlack);
    border-radius: 20px;
}

.dashboard-menu::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.dashboard-menu::-webkit-scrollbar-track {
    background-color: var(--lightGrey);
    border-radius: 20px;
}

.dashboard-menu::-webkit-scrollbar-thumb {
    background-color: var(--darkBlack);
    border-radius: 20px;
}

/* end custom scroll */

/* custom number */

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.number-input {
    border: 1px solid var(--grey);
    display: inline-flex;
}
  
.number-input,
.number-input * {
    box-sizing: border-box;
}
  
.number-input button {
    outline:none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    margin: 0;
    position: relative;
    color: var(--darkRed);
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    font-family: sans-serif;
    max-width: 3rem;
    padding: 0.5rem;
    border: none;
    font-size: 1rem;
    height: 2rem;
    font-weight: bold;
    text-align: center;
}

button[class*="btnPlusIngrediente"]:disabled {
    cursor: no-drop;
    color: var(--darkGrey);
}

/* end custom number */

.order-card {
    display: grid;
    grid-template-columns: 0.6fr 1fr 0.5fr;
    padding: 10px 0;
    gap: 5px;
    justify-content: space-around;
    align-items: flex-start;
}

.order-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 15px;
}

.order-details input {
    width: 45px;
    height: 35px;
    text-align: center;
    border: 2px solid var(--grey);
    border-radius: 10px;
    background-color: transparent;
    margin-left: 10px;
    margin-right: 10px;
}

.divider {
    width: 100%;
    border: 1px dashed var(--grey);
}

.order-total > p {
    padding: 10px 0;
}

.order-total > p > span {
    float: right;
    font-weight: 600;
}

.order-promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--lightGrey);
    border: 2px solid var(--grey);
    border-radius: 10px;
    height: 45px;
    padding: 0 5px;
    margin: 5px 0 5px 0;
}

#spanNaoSeiCep {
    font-size: 10px; 
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)); 
    text-decoration: underline; 
    cursor: pointer;
}

.input-promo {
    background-color: transparent;
    border: none;
    text-transform: uppercase
}

.button-promo {
    float: right;
    background-color: var(--yellow);
    border: none;
    border-radius: 5px;
    height: 80%;
    width: 100%;
    cursor: pointer;
    font-size: 12px;
}

.checkout-monte {
    width: 100%;
    height: 40px;
    text-align: center;
    background-color: var(--red);
    border: none;
    border-radius: 20px;
    color: var(--lightGrey);
    cursor: pointer;
    margin-bottom: 16px;
}
.checkout {
    width: 47%;
    height: 40px;
    text-align: center;
    background-color: var(--red);
    border: none;
    border-radius: 20px;
    color: var(--lightGrey);
    cursor: pointer;
}
.checkout:hover, .checkout-monte:hover {
    text-transform: uppercase;
    font-weight: 600;
}
button.avanca:disabled,
button[disabled]{
  background-color: #b5818c;
}

#cart, #close-monte {
    display: none;
}

#cart:not(:checked) ~ .label-cart {
    color: var(--yellow);
}

#cart:not(:checked) ~ .dashboard {
    padding-right: 30px;
}

#cart:not(:checked) ~ .dashboard-order, #close-monte:not(:checked) ~ .dashboard-monte, #cart:checked  + .label-address {
    display: none;
}

#cart:not(:checked) ~ .logo, #close-monte:not(:checked) ~ .logo {
    padding-right: 0px;
}

#close-monte:not(:checked) ~ .label-close {
    display: none;
}

#carrinho-endereco, #carrinho-produtos, #carrinho-pagamento, #pastelMontado {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    padding: 4rem 1.5rem 0.5rem;
}
#carrinho-pagamento .number-input button {
    display: none;
}
#pagamento-pix{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.order-total {
    display: grid;
    align-items: end;
    height: 100%;
    align-content: space-between;
}

.h3LojaFechada {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#modalProduto .modal-body{
    display: grid;
    width: -moz-fit-content;
    width: fit-content;
    grid-template: 40px auto 80px / 1fr 1fr;
    grid-template-areas:
        "image header"
        "image scroll"
        "image action";
    height: 45vw;
    max-width: 1200px;
    max-height: 580px;
    min-height: auto;
    border-radius: 4px;
}
#modalProduto .imagem-produto {
    grid-area: image;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
#modalProduto .imagem-produto img{
    width: 100%;
}
#modalProduto .descricao{
    padding: 0px 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 40vw;
    flex-direction: column;
}

.modal-footer .btnModalAdd{
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 20%;
    font-size: .875rem;
    height: 3rem;
    z-index: 99999;
}

.toast{
    z-index: 9999;
    margin-right: 2rem;
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    .dashboard-banner .banner > img {
        object-fit: cover;
    }

    #modalProduto .modal-body{
        display: block;
        width: auto;
        padding: 0;
    }

    #modalProduto .imagem-produto{
        display: flex;
        height: 45vw;
        justify-content: center;
        align-items: center;
    }

    #modalProduto .descricao {
        height: auto;
        padding: 50px;
    }

    .modal-footer .btnModalAdd{
        width: 30%;
    }

    #modalProduto .imagem-produto img{
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    .dashboard {
        padding-right: 0px;
        padding-left: 30px;
    }

    .dashboard-order, .dashboard-monte {
        width: 100%;
        left: 0;
        height: auto;
        overflow-x: auto;
    }

    .sidebar {
        display: none;
    }

    .dashboard-menu {
        display: flex;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .logo{
        width: 120px;
        margin-right: 2%;
    }

    .menu-top{
        padding: 15px 15px 15px 15px;
    }

    .input-field{
        width: 43%;
    }

    .order-wrapper-monte {
        height: 300px;
    }

    .label-cart, .label-close {
        top: 21px;
    }

    .dashboard-order > h3, .dashboard-monte > h3 {
        margin-top: 0;
    }

    .overlay {
        display: none;
    }

    .btnAdd{
        display: block;
    }
}

@media screen and (max-width: 426px){
    .modal-footer .btnModalAdd {
        width: 100%;
    }

    .dashboard {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 375px)
{
    .dashboard-menu {
        top: 86px !important;
    }
}

@media screen and (max-width: 320px)
{
    .dashboard {
        margin-top: 3.5rem;
    }

    .dashboard-menu {
        top: 113px !important;
    }
}