.cart-numeric{
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    &::after{
        position: absolute;
        left: auto;
        top: auto;
        bottom: 4px;
        right: -15px;
        content: attr(itens);
        color: #FFF;
        text-align: center;
        font-family: "Inter";
        font-size: 15px;
        font-weight: 400;
        padding: 1px 5px;
        border-radius: 2px;
        background: #0B9F2B;
        @media screen and (max-width: 856px) {
            font-size: 10px;
        }
    }
    &:not([itens])::after{
        display: none;
    }
}
.btn{
    display: block;
    cursor: pointer;
    color: #FFF;
    font-family: "Inter";
    text-align: center;
    width: fit-content;
    margin: 0px auto;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 8px;
    border: 1px solid $primary-color;
    background-color: $primary-color;
    &.secondary{
        border: 1px solid $secondary-color;
        background-color: $secondary-color;
    }
    &.orange{
        border: 1px solid $orange;
        background-color: $orange;
    }
    &.green{
        border: 1px solid  #239519;
        background-color:  #239519;
    }
    &.large{
        padding: 9px;
        color: #FFF;
        font-size: 22px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        font-weight: 700;
    }
    transition: all .3s;
    &:hover{
        background-color: transparent;
        color: $primary-color;
        &.secondary{
            color: $secondary-color;
        }
        &.orange{
            color: $orange;
        }
        &.green{
            color: #239519;
        }
    }
}
.listagem-de-produtos{
    padding-top: 50px;
    padding-bottom: 100px;
    @media screen and (max-width: 1200px) {
        padding-top: 68px;
    }
    @media screen and (max-width: 560px) {
        padding-bottom: 40px;
    }
    .al-container{
        gap: 32px;
        align-items: flex-start;
        @media screen and (max-width: 1200px) {
            flex-wrap: wrap;
        }
        .open-categorias{
            display: none;
            @media screen and (max-width: 768px) {
                display: flex;
                align-items: center;
                gap: 8px;
                background-color: $tertiary-color;
                border-radius: 20px;
                padding: 8px 12px;
                width: 100%;
                span{
                    color: #FFF;
                    font-size: 28px;
                    font-weight: 700;
                    line-height: 119.5%; /* 26.29px */
                }
            }
        }
        .left{
            width: 280px;
            .close-categorias{
                display: none;
            }
            @media screen and (max-width: 768px) {
                height: 100%;
                width: 400px;
                max-width: 100%;
                position: fixed;
                left: -400px;
                top: 0px;
                padding: 60px 20px;
                overflow: scroll;
                background-color: #FFF;
                transition: all .3s;
                z-index: 1002;
                .close-categorias{
                    display: block;
                    width: 30px;
                    aspect-ratio: 1;
                    position: absolute;
                    left: auto;
                    right: 20px;
                    top: 20px;
                    svg, svg *{
                        fill: $secondary-color;
                    }
                }
                &.active{
                    left: 0px;
                    box-shadow: 4px 0px 0px 100vw #00000090;
                }
            }
        }
        .right{
            width: calc(100% - 280px - 32px);
            @media screen and (max-width: 768px) {
                width: 100%;
            }
        }
    }
}
.list-cards{
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 10px;
    width: 100%;
    >*{
        width: calc(100%/4 - 15px*3/4);
        @media screen and (max-width: 1024px) {
            width: calc(100%/3 - 15px*2/3);
        }
        @media screen and (max-width: 768px) {
            width: calc(100%/3 - 15px*2/3);
        }
        @media screen and (max-width: 640px) {
            width: calc(100%/2 - 15px/2);
        }
        @media screen and (max-width: 560px) {
            width: 100%;
            max-width: 320px;
        }
    }
}
.produto-card{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 19px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 22.8px 0px rgba(0, 0, 0, 0.25);
    img{
        margin: 0px 25px;
        margin-bottom: 12px;
    }
    .name{
        color: #D0060E;
        text-align: center;
        font-family: "Mermaid";
        font-size: 18px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        font-weight: 700;
    }
}
a.icon-link{
    display: flex;
    justify-content: left;
    gap: 10px;
    svg{
        width: 25px;
    }
    span{
        width: calc(100% - 25px - 10px);
        color: #FFF;
        font-size: 22px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        font-weight: 500;
        line-height: 119.5%; /* 26.29px */
        transition: all .3s;
        &:hover{
            color: $primary-color;
        }
    }
}
.listagem-categorias{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    >*{
        transition: all .3s;
    }
    >li{
        width: 100%;
        padding: 12px 22px;
        background: #E8E8E8;
        position: relative;
        cursor: pointer;
        a{
            color: #909090;
            font-family: "Mermaid";
            font-size: 28px;
            @media screen and (max-width: 856px) {
                font-size: 20px;
            }
            font-weight: 700;
            width: 100%;
            display: block;
        }
        &:has(ul){
            &::after{
                content: "";
                transition: all .3s;
                background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDIyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJmb3Jta2l0OnVwIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTQuODEyNDIgMS4yODU1MUM0LjkwMjU5IDEuMjg0NDggNC45OTE5OSAxLjMwMTExIDUuMDc0ODcgMS4zMzQzMkM1LjE1Nzc1IDEuMzY3NTMgNS4yMzIyOCAxLjQxNjYgNS4yOTM2NyAxLjQ3ODM2TDEwLjk5OTkgNi44MDEyMkwxNi43MDYyIDEuNDc4MzZDMTYuOTgxMiAxLjIyMTIyIDE3LjQwNzQgMS4yMjEyMiAxNy42ODI0IDEuNDc4MzZDMTcuOTU3NCAxLjczNTUxIDE3Ljk1NzQgMi4xMzQwOCAxNy42ODI0IDIuMzkxMjJMMTEuNDgxMiA4LjE2NDA4QzExLjIwNjIgOC40MjEyMiAxMC43Nzk5IDguNDIxMjIgMTAuNTA0OSA4LjE2NDA4TDQuMzE3NDIgMi4zNzgzNkM0LjA0MjQyIDIuMTIxMjIgNC4wNDI0MiAxLjcyMjY1IDQuMzE3NDIgMS40NjU1MUM0LjQ1NDkyIDEuMzM2OTMgNC42MzM2NyAxLjI3MjY1IDQuNzk4NjcgMS4yNzI2NUw0LjgxMjQyIDEuMjg1NTFaIiBmaWxsPSIjOTE5MTkxIi8+CjwvZz4KPC9zdmc+Cg==');
                background-repeat: no-repeat;
                background-size: cover;
                display: block;
                width: 22px;
                height: 9px;
                position: absolute;
                left: auto;
                right: 22px;
                top: 19px;
            }
        }
        ul{
            height: 0px;
            width: 100%;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            li{
                width: 100%;
                a{
                    color: #FFF;
                    font-family: 'Inter';
                    font-size: 16px;
                    @media screen and (max-width: 856px) {
                        font-size: 11px;
                    }
                    font-weight: 400;
                    transition: all .3s; 
                    position: relative;
                    width: fit-content;
                    &::after{
                        content: "";
                        position: absolute;
                        top: auto;
                        bottom: -2px;
                        left: 0px;
                        width: 0px;
                        height: 2px;
                        background-color: $secondary-color;
                        transition: all .3s;
                        z-index: 99;
                    }
                    &:hover, &.active{
                        color: $secondary-color;
                        &::after{
                            width: 100%;
                        }
                    }
                }
            }
        }
        &:hover{
            background: #D0050D;
            &:after{
                filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(3286%) hue-rotate(351deg) brightness(101%) contrast(103%);
            }
            a{
                color: #FFF;
            }
        }
        &.active, &:has(a.active){
            background: #D0050D;
            &:after{
                transform: rotate(180deg);
                filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(3286%) hue-rotate(351deg) brightness(101%) contrast(103%);
            }
            a{
                color: #FFF;
            }
            ul{
                height: auto;
                margin-top: 7px;
                border-top: 1px solid $secondary-color;
                padding-top: 12px;
                padding-bottom: 2px;
            }
        }
    }
}
h1.title{
    color: #D0050D;
    font-family: "Mermaid";
    font-size: 55px;
    font-weight: 700;
    @media screen and (max-width: 856px) {
        font-size: 38px;
    }
}
.ultimos-pedidos{
    padding-top: 68px;
    padding-bottom: 100px;
    @media screen and (max-width: 560px) {
        padding-bottom: 40px;
    }
    overflow: hidden;
    .al-container{
        width: 1221px;
        table{
            margin-top: 46px;
            tr{
                th,td{
                    &:nth-child(1){
                        width: 18%;
                        padding-right: 12%;
                    }
                    &:nth-child(2){
                        width: 38%;
                        padding-right: 30%;
                    }
                    &:nth-child(4){
                        width: 30%;
                        padding-left: 21%;
                    }
                    @media screen and (max-width: 1024px) {
                        width: 100%;
                        padding-right: 0px!important;
                        padding-left: 0px!important;
                    }
                }
            }
        }
    }
}
table{
    font-family: "Inter";
    width: 100%;
    border: none;
    border-spacing: 0;
    thead{
        position: relative;
        tr{
            th{
                padding: 19px 0px;
                color: #D0050D;
                font-size: 18px;
                @media screen and (max-width: 856px) {
                    font-size: 15px;
                }
                font-weight: 700;
            }
        }
        &::after{
            content: "";
            display: block;
            width: 1460px;
            height: 1px;
            background: #D9D9D9;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        &.center{
            text-align: center;
            *{
                text-align: center;
            }
        }
    }
    tbody{
        margin-top: 10px;
        tr{
            td{
                padding: 8px 0px;    
                color: #1E1E1E;
                font-size: 18px;
                @media screen and (max-width: 856px) {
                    font-size: 15px;
                }
                font-weight: 500;
            }
        }
        &.center{
            text-align: center;
            *{
                text-align: center;
            }
        }
    }
    &.striped{
        tbody{
            tr:nth-child(2n){
                background: #F8F8F8;
            }
        }
    }
    &.dark{
        font-family: 'Inter';
        padding: 25px;
        thead{
            tr{
                th{
                    color: #353131;
                    font-size: 24px;
                    @media screen and (max-width: 856px) {
                        font-size: 17px;
                    }
                    font-weight: 700;
                    line-height: 120%; /* 28.8px */
                    text-align: left;
                }
            }
            &::after{
                width: 100%;
                height: 1px;
                background: #D9D9D9;
            }
        }
        tbody{
            tr{
                td{
                    color: #373737;
                    font-size: 18px;
                    @media screen and (max-width: 856px) {
                        font-size: 15px;
                    }
                    font-weight: 400;
                    line-height: 95.085%; /* 17.115px */
                }
            }
        }
    }
}
tr.product{
    font-family: "Inter";
    td{
        padding: 0px;
        padding-top: 14px;
    }
    .icon-link{
        display: flex;
        justify-content: left;
        align-items: center;
        gap: 16px;
        img{
            width: 70px;
            height: 70px;
        }
        span{
            color: #373737;
            font-size: 18px;
            @media screen and (max-width: 856px) {
                font-size: 15px;
            }
            font-weight: 400;
            line-height: 95.085%; /* 17.115px */
            text-transform: uppercase;
        }
    }
    .quantidade-field{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;
        @media screen and (max-width: 768px) {
            flex-wrap: wrap;
            &::before{
                font-weight: 700;
                width: 100%;
                text-align: center;
                content: "Quantidade: ";
            }
        }
        .btn{
            width: 39px;
            border: 1px solid #F2F2F2;
            aspect-ratio: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 8px;
            color: #EF2828;
            font-family: Arial;
            font-size: 20px;
            @media screen and (max-width: 856px) {
                font-size: 14px;
            }
            font-weight: 400;
            background: #FFF;
            transition: all .3s;
            margin: 0px;
            &:not(.disable){
                cursor: pointer;
                &:hover{
                    background-color: #EF2828;
                    color: #FFF;
                }
            }
            &.disable{
                background: #F2F2F2;
            }
        }
        .quantidade{
            color: #373737;
            font-family: 'Inter';
            font-size: 26px;
            @media screen and (max-width: 856px) {
                font-size: 18px;
            }
            font-weight: 400;
            line-height: 95.085%; /* 24.722px */
        }
    }
    .price{
        color: #373737;
        text-align: center;
        font-family: 'Inter';
        font-size: 18px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        @media screen and (max-width: 768px) {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 4px;
            &::before{
                font-weight: 700;
                width: 100%;
                content: "Preço: ";
            }
        }
        font-weight: 400;
    }
    .total{
        color: #373737;
        text-align: center;
        font-family: Arial;
        font-size: 18px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        @media screen and (max-width: 768px) {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 4px;
            &::before{
                font-weight: 700;
                width: 100%;
                content: "Total: ";
            }
        }
        font-weight: 400;
    }
    .remove-product{
        color: #EF2828;
        font-family: Arial;
        font-size: 20px;
        @media screen and (max-width: 856px) {
            font-size: 24px;
        }
        font-weight: 700;
        line-height: 95.085%; /* 19.017px */
        display: block;
        border: none;
        margin: 0px;
        outline: none;
        appearance: none;
    }
}
.carrinho-container{
    padding-top: 68px;
    padding-bottom: 100px;
    @media screen and (max-width: 560px) {
        padding-bottom: 40px;
    }
    .al-container{
        width: 1217px;
        h1.title{
            padding-bottom: 65px;
        }
        >div.flex{
            align-items: flex-start;
            row-gap: 40px;
        }
        .left{
            width: 40%;
            @media screen and (max-width: 648px) {
                width: 100%;
            }
            h3{
                color: #353131;
                font-family: Arial;
                font-size: 24px;
                @media screen and (max-width: 856px) {
                    font-size: 17px;
                }
                font-weight: 700;
                line-height: 120%; /* 28.8px */
                text-transform: uppercase;
                padding-bottom: 20px;
            }
            p{
                color: #353131;
                font-family: Arial;
                font-size: 18px;
                @media screen and (max-width: 856px) {
                    font-size: 15px;
                }
                font-style: normal;
                font-weight: 400;
                line-height: 120%; /* 21.6px */
                padding-bottom: 20px;
            }
            input{
                border-radius: 10px;
                padding: 6px;
                width: 100%;
                border: 1px solid #CECECE;
                background: #FFF;
                color: #353131;
                font-family: Arial;
                font-size: 18px;
                @media screen and (max-width: 856px) {
                    font-size: 15px;
                }
                font-weight: 400;
                line-height: 120%; /* 21.6px */
                &::placeholder{
                    color: #CECECE;
                    font-family: Arial;
                    font-size: 18px;
                    @media screen and (max-width: 856px) {
                        font-size: 15px;
                    }
                    font-weight: 400;
                    line-height: 120%; /* 21.6px */
                }
            }
        }
        .right{
            width: 29%;
            @media screen and (max-width: 1150px) {
                width: 40%;
            }
            @media screen and (max-width: 648px) {
                width: 100%;
            }
            .total{
                border-radius: 20px;
                background: #D9282F;
                padding: 20px 26px;
                @media screen and (max-width: 768px) {
                    max-width: 300px;
                    margin-left: auto;
                }
                @media screen and (max-width: 560px) {
                    max-width: 100%;
                }
                span{
                    color: #FFF;
                    font-family: 'Inter';
                    font-size: 20px;
                    @media screen and (max-width: 856px) {
                        font-size: 14px;
                    }
                    font-weight: 600;
                    line-height: 120%; /* 24px */
                }
            }
            .btn{
                @media screen and (max-width: 560px) {
                    width: 100%;
                }
                margin-top: 35px;
                margin-left: auto;
                margin-right: 0px;
            }
        }
    }
}
.lista-carrinho{
    width: 100%;  
    border-radius: 20px;
    border: 1px solid #A6A6A6;
    overflow: hidden;
    @media screen and (max-width: 768px) {
        border: none;
    }
    table{
        thead{
            tr{
                th:not(:nth-child(1)){
                    text-align: center;
                }
            }
            @media screen and (max-width: 768px) {
                display: none;
            }
        }
        @media screen and (max-width: 768px) {
            tbody{
                tr{
                    margin-top: 20px;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: space-between;
                    gap: 8px;
                    border-radius: 20px;
                    padding: 20px;
                    border: 1px solid #A6A6A6;
                    td{
                        order: 3;
                        &:nth-child(1){
                            order: 1;
                            width: calc(100% - 30px);
                        }
                        &:nth-child(5){
                            order: 2;
                        }
                    }
                }
            }
        }
        @media screen and (max-width: 560px) {
            tbody{
                tr{
                    td{
                        &:nth-child(2){
                            order: 3;
                        }
                        &:nth-child(3){
                            order: 5;
                            width: 100%;
                        }
                        &:nth-child(4){
                            order: 4;
                        }
                    }
                }
            }
        }
    }
}
#whatsapp-fixo{
    position: fixed;
    left: auto;
    right: calc((100vw - 1220px)/2 - 80px);
    top: auto;
    bottom: 165px;
    z-index: 99;
    @media screen and (max-width: 1400px) {
        right: 20px;
        bottom: 20px;
    }
}
.cadastro-de-clientes{
    padding-top: 68px;
    padding-bottom: 100px;
    @media screen and (max-width: 560px) {
        padding-bottom: 40px;
    }
    overflow: hidden;
    width: 100%;
    .al-container{
        h1.title{
            padding-bottom: 49px;
        }
        .top,.bottom{
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            row-gap: 22px;
            column-gap: 32px;
        }
        .top{
            padding-bottom: 60px;
            @media screen and (max-width: 560px) {
                padding-bottom: 30px;
            }
            position: relative;
            >*{
                width: calc(100%/3 - 32px*2/3);
                @media screen and (max-width: 1024px) {
                    width: calc(100%/2 - 32px/2);
                }
                @media screen and (max-width: 560px) {
                    width: 100%;
                }
            }
            &::after{
                content: "";
                display: block;
                width: 1460px;
                height: 1px;
                background: #D9D9D9;
                position: absolute;
                top: auto;
                bottom: 0px;
                left: 50%;
                transform: translateX(-50%);
            }
        }
        .bottom{
            padding-top: 60px;
            @media screen and (max-width: 560px) {
                padding-top: 30px;
            }
            width: calc(100%*2/3 - 32px/3);
            @media screen and (max-width: 1024px) {
                width: 100%;
            }
            >*{
                width: calc(100%/2 - 32px/2);
                @media screen and (max-width: 1024px) {
                    width: calc(100%/2 - 32px/2);
                }
                @media screen and (max-width: 560px) {
                    width: 100%;
                }
            }
        }
        .btn{
            margin-left: 0px;
            margin-top: 50px;
        }
    }
}
.form-group{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 4px;
    font-family: "Inter";
    label{
        color: #D9282F;
        font-size: 18px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        font-weight: 700;
        text-transform: uppercase;
        width: 100%;
    }
    input{
        width: 100%;
        border-radius: 8px;
        background: #F5F5F5;
        padding: 9px 17px;
        color: #636363;
        font-size: 18px;
        @media screen and (max-width: 856px) {
            font-size: 15px;
        }
        font-weight: 400;
        outline: none;
        border: none;
        &::placeholder{
            color: #636363;
            font-size: 18px;
            @media screen and (max-width: 856px) {
                font-size: 15px;
            }
            font-weight: 400;
        }
    }
    .password-wrapper{
        width: 100%;
        position: relative;
        .toggle-password{
            cursor: pointer;
            position: absolute;
            width: 20px;
            height: 20px;
            left: auto;
            right: 17px;
            top: 50%;
            transform: translateY(-50%);
            background-color: transparent;
            border: none;
            outline: none;
            svg, svg *{
                fill: #948B8B;
            }
        }
    }
    span.error{
        color: $danger;
        font-size: 12px;
        @media screen and (max-width: 856px) {
            font-size: 10px;
        }
        font-weight: 500;
        padding-left: 17px;
    }
}