/* Mikanah Complementos - Frontend */
.woocommerce-billing-fields #billing_company_field,
.woocommerce-billing-fields #billing_country_field,
.woocommerce-billing-fields #billing_address_2_field,
p.form-row.hidden { display:none !important; }

/* ═══════════════════════════════════════
   TABLAS RESPONSIVAS EN MÓVIL
═══════════════════════════════════════ */

/* Hacer TODA tabla dentro de los módulos scrollable en móvil */
.mkc-pp-body,
.mkc-ped-body,
.mkc-pp-detail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.mkc-pp-table {
    min-width: 480px;
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

/* Envolvente automático para la tabla — via CSS position trick */
.mkc-pp-body .mkc-pp-table,
.mkc-ped-body .mkc-pp-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    min-width: 0;
    width: 100%;
}
.mkc-pp-body .mkc-pp-table thead,
.mkc-pp-body .mkc-pp-table tbody,
.mkc-ped-body .mkc-pp-table thead,
.mkc-ped-body .mkc-pp-table tbody {
    display: table;
    width: 100%;
    min-width: 480px;
}

@media (max-width: 640px) {
    .mkc-pp-table th,
    .mkc-pp-table td {
        padding: 6px 8px;
        font-size: 12px;
        white-space: normal;
    }
    .mkc-np-stepper { gap: 4px; }
    .mkc-np-step-label { font-size: 10px; }
}

/* Wrapper de tabla ya existente en prepedidos */
.mkc-pp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.mkc-pp-table-wrap .mkc-pp-table {
    min-width: 460px;
    display: table;
    white-space: nowrap;
}
.mkc-pp-table-wrap .mkc-pp-table thead,
.mkc-pp-table-wrap .mkc-pp-table tbody {
    display: table;
    width: 100%;
}
