/*
|--------------------------------------------------------------------------
| TOTAL GERAL
|--------------------------------------------------------------------------
| Layout aprovado:
| - Ícone calculadora roxo à esquerda
| - Título vermelho
| - Subtítulo Produto + Frete
| - Valor roxo grande à direita
|--------------------------------------------------------------------------
*/

.dfx-erp-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;
    margin: 0;
    padding: 16px 0 0;

    background: transparent;
    border: none;

    box-sizing: border-box;
}

.dfx-erp-total-left {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.dfx-erp-total-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    color: #7e22ce;
}

.dfx-erp-total-icon svg {
    display: block;

    width: 38px;
    height: 38px;

    fill: currentColor;
}

.dfx-erp-total-info {
    min-width: 0;
}

.dfx-erp-total-title {
    margin: 0 0 3px;

    color: #d60000;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;

    text-transform: uppercase;
}

.dfx-erp-total-subtitle {
    color: #334155;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.dfx-erp-total-value {
    min-width: 110px;

    margin-left: auto;

    color: #7e22ce;

    font-size: 32px;
    font-weight: 900;
    line-height: 1;

    text-align: right;

    white-space: nowrap;

    background: transparent;
    border: none;
    padding: 0;
}

.dfx-erp-total-value:empty::before {
    content: "R$ 0,00";
}

/*
|--------------------------------------------------------------------------
| RESPONSIVO TOTAL
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .dfx-erp-total-box {
        align-items: flex-start;
    }

    .dfx-erp-total-value {
        font-size: 24px;
    }
}
