/* Estadisticas de ventas: pedidos que forman las ventas en tablet. */
@media (min-width: 540px) and (max-width: 1366px) {
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas {
        box-sizing: border-box !important;
        padding: 16px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas .pv-est-tabla-scroll {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-top: 14px !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos {
        display: block !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > thead {
        display: none !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr {
        position: relative !important;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid #e3e7f0 !important;
        border-left: 3px solid #7042ed !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 6px 18px rgba(31, 42, 68, .055) !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 4px !important;
        box-sizing: border-box !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        padding: 8px !important;
        overflow: hidden !important;
        border: 0 !important;
        border-right: 1px solid #edf0f5 !important;
        border-bottom: 1px solid #edf0f5 !important;
        background: transparent !important;
        color: #303a50 !important;
        font-size: 10.5px !important;
        line-height: 1.22 !important;
        text-align: left !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(6n) {
        border-right: 0 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(n + 7) {
        border-bottom: 0 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td::before {
        content: attr(data-label) !important;
        position: static !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
        color: #8995aa !important;
        font-size: 7.5px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        letter-spacing: .045em !important;
        text-overflow: ellipsis !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:first-child {
        grid-column: auto !important;
        min-height: 64px !important;
        padding: 8px !important;
        border-bottom: 1px solid #edf0f5 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:first-child strong {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        color: #251a39 !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(3) {
        overflow-wrap: anywhere !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(10) {
        color: #5c32cb !important;
        font-weight: 900 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(11) {
        color: #1775a9 !important;
        font-weight: 850 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:last-child {
        color: #12805c !important;
        font-weight: 850 !important;
    }
}

@media (min-width: 540px) and (max-width: 620px) {
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(6n) {
        border-right: 1px solid #edf0f5 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(4n) {
        border-right: 0 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(n + 7) {
        border-bottom: 1px solid #edf0f5 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-pedidos-ventas table.pv-est-tabla-documentos > tbody > tr > td:nth-child(n + 9) {
        border-bottom: 0 !important;
    }
}
