@use "helpers";

#h1dentro {
    font-size: 24px!important;
}

h1 {
    font-size: 20px;
}

.box {
    background-color: helpers.$light;
    border: 1px solid helpers.$borders;
    margin: 20px 0px;
    padding: 20px;
}

#ped-produtos {
    #ped-table {
        color: helpers.$textoDark;
        border: none;
        border-collapse: collapse;
        font-family: helpers.$fontRegular;
        font-size: 14px;
        margin: 32px auto 16px;
        width: 100%;
        thead {
            background-color: helpers.$medium;
            font-family: helpers.$fontRegular;
            font-size: 13px;
            line-height: 40px;
            text-transform: uppercase;
            th {
                font-weight: normal;
                text-align: center;
                &:first-child {
                    text-align: left;
                    padding-left: 10px;
                }
            }
        }
        tbody {
            text-align: center;
            tr {
                background-color: helpers.$light;
                border-bottom: 1px solid helpers.$borders;
                .tdesc, .tqtd, .tvl1, .tvl2 {
                    white-space: nowrap;
                    width: 22%;
                }
                .tdesc a:last-child {
                    white-space: normal;
                }
                .tqtd a {
                    color: helpers.$textoDark;
                    font-weight: normal;
                }
                .tvl1 {
                    color: helpers.$textoDark;
                }
                .tdel {
                    width: 12%;
                }
                td {
                    padding: 16px 0;
                    min-width: 32px;
                    &:first-child {
                        text-align: left;
                        padding-left: 30px;
                    }
                    a {
                        @include helpers.transicao(0.8s);
                        display: inline-block;
                        font-weight: bold;
                        vertical-align: top;
                        &:hover {
                            color: helpers.$textoDark;
                        }
                        span {
                            color: helpers.$textoDark;
                            display: block;
                            font-size: 12px;
                            font-weight: normal;
                        }
                        .ico-remove {
                            display: inline-block;
                            width: 20px;
                            height: 20px;
                            background: url(../img/sprite.png) no-repeat;
                            background-position: -3px -291px;
                        }
                    }
                    img {
                        max-height: 100px;
                        max-width: 100%;
                        margin-right: 5px;
                    }
                    &.tdel a {
                        height: 100%;
                        display: block;
                        width: 100%;
                    }
                }
            }
        }
        tfoot {
            background-color: helpers.$medium;
            border: 2px solid helpers.$borders;
            border-top-width: 0px;
            color: helpers.$textoDark;
            font-family: helpers.$fontRegular;
            font-size: 12px;
            line-height: 50px;
            td, th {
                text-align: center;
                &:first-child {
                    padding-left: 30px;
                    text-align: left;
                    text-transform: uppercase;
                }
            }
            th {
                color: helpers.$textoDark;
                &:first-child {
                    vertical-align: middle;
                }
                &:last-child {
                    font-size: 22px;
                    font-weight: normal;
                }
            }
        }
    }
}

.botao-primary {
    background-color: helpers.$dark;
    border: none;
    color: helpers.$textoLight;
    display: inline-block;
    margin-top: 16px;
    padding: 7px 0px;
    line-height: 30px;
    margin-top: 15px;
    max-width: 262px;
    text-align: center;
    width: 100%;
}

.botao-success {
    background-color: helpers.$highlight;
    border: none;
    color: helpers.$textoLight;
    line-height: 50px;
    margin-top: 15px;
    max-width: 262px;
    padding: 0px;
    width: 100%;
}

#ped-cupom {
    /*display: none;*/
    .botao-success {
        margin-top: -8px;
    }
}

#ped-pagamento {
    margin-bottom: 80px;
    .titulos {
        display: table;
        margin-top: 20px;

        a {
            border: 1px solid helpers.$borders;
            border-bottom: none;
            background-color: helpers.$dark;
            color: helpers.$textoLight;
            cursor: pointer;
            display: inline-block;
            font-family: helpers.$fontRegular;
            font-size: 16px;
            height: 50px;
            line-height: 50px;
            padding: 0px 10px;
            vertical-align: bottom;
            &.active {
                background-color: helpers.$light;
                border: 1px solid helpers.$dark;
                border-bottom: none;
                color: helpers.$textoDark; 
                height: 60px;
                line-height: 68px;
                margin-bottom: -1px; 
            }
        }
    }

    .textos {
        background-color: helpers.$light;
        border: 1px solid helpers.$dark;
        .pagamentoDetalhe {
            display: none;
            padding: 48px 32px;
            p {
                color: helpers.$textoDark;
            }
        }
        .active {
            display: block;
        }
    }

    @media (max-width: 767px) {
        .titulos {
            width: 100%;
            a {
                display: block;
                margin: 0;
                width: 100%;
                &.active {
                    border: 1px solid helpers.$highlight;
                    border-bottom: none;
                    height: 50px;
                    line-height: 50px;
                    margin-bottom: 0px;
                }
                &:last-child {
                    border: 1px solid helpers.$highlight;
                }
            }
        }
        .textos {
            .botao-success {
                width: 100%;
            }
            .pagamentoDetalhe {
                padding: 24px 16px;
            }
        }
    }
}
