/* Estadisticas de ventas: detalle por producto compacto en tablet. */
@media (min-width: 540px) and (max-width: 1366px) {
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos {
        box-sizing: border-box !important;
        padding: 16px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-card-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-card-actions {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-productos-acciones {
        display: grid !important;
        grid-template-columns: minmax(240px, 320px) 150px !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: min(100%, 480px) !important;
        min-width: 0 !important;
        max-width: 480px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-selector {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        overflow: hidden !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-selector-op {
        min-width: 0 !important;
        padding-inline: 8px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-descargar-productos-pdf {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: 150px !important;
        min-width: 150px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        border-radius: 11px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-descargar-productos-pdf span {
        display: inline !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .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-tabla-productos table.pv-est-tabla-productos {
        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-tabla-productos table.pv-est-tabla-productos > thead {
        display: none !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > 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-tabla-productos table.pv-est-tabla-productos > tbody > tr {
        position: relative !important;
        display: grid !important;
        grid-template-columns: repeat(5, 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-tabla-productos table.pv-est-tabla-productos > 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 9px !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-tabla-productos table.pv-est-tabla-productos > tbody > tr > td:nth-child(5n) {
        border-right: 0 !important;
    }

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

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > 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-tabla-productos table.pv-est-tabla-productos > tbody > tr > td:first-child {
        grid-column: auto !important;
        min-height: 64px !important;
        padding: 8px 9px !important;
        border-bottom: 1px solid #edf0f5 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > tbody > tr > td:first-child strong,
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > tbody > tr > td > span,
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > tbody > tr > td > small {
        max-width: 100% !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > tbody > tr > td:first-child strong {
        display: -webkit-box !important;
        overflow: hidden !important;
        color: #21192f !important;
        font-size: 11px !important;
        font-weight: 850 !important;
        line-height: 1.18 !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-tabla-codigo,
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-tabla-tag {
        display: block !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        background: transparent !important;
        color: #4f5d75 !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-td-destacado,
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-td-margen {
        font-size: 10.5px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-participacion {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-participacion::before,
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-participacion > i {
        display: none !important;
    }
}

@media (min-width: 540px) and (max-width: 620px) {
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-productos-acciones {
        grid-template-columns: minmax(0, 1fr) 44px !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-descargar-productos-pdf {
        width: 44px !important;
        min-width: 44px !important;
        padding: 0 !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-descargar-productos-pdf span {
        display: none !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos table.pv-est-tabla-productos > tbody > tr {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

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

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

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

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

@media (min-width: 760px) and (max-width: 1366px) {
    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-card-head {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    html body #pvf-shell#pvf-shell .pv-est-page #pv-est-tabla-productos .pv-est-card-actions {
        justify-content: flex-end !important;
        width: auto !important;
    }
}
