/* select background colors - unverändert */
.ff-position-page-break { background: var(--fox-color-special-position-pagebreak) !important; }
.ff-position-text { background: var(--fox-color-special-position-text) !important; }
.ff-position-shipping { background: var(--fox-color-special-position-shipping) !important; }
.ff-position-total { background: var(--fox-color-special-position-total) !important; }

/* Standard: Alle Inhalte in Zellen ausblenden (aber Platz behalten) */
.ff-position-page-break td[role="gridcell"] > *,
.ff-position-text td[role="gridcell"] > *,
.ff-position-shipping td[role="gridcell"] > *,
.ff-position-total td[role="gridcell"] > *,
.ff-position-voucher td[role="gridcell"] > *,
.ff-position-page-break .e-inline-edit td > *,
.ff-position-text .e-inline-edit td > *,
.ff-position-shipping .e-inline-edit td > *,
.ff-position-total .e-inline-edit td > *,
.ff-position-voucher .e-inline-edit td > * {
    visibility: hidden !important;
}

/* Ausnahmen: Direkte Kinder in bestimmten Spalten einblenden */
/* 1. Spalte */
.ff-position-page-break td:nth-of-type(1) > *,
.ff-position-text td:nth-of-type(1) > *,
.ff-position-shipping td:nth-of-type(1) > *,
.ff-position-total td:nth-of-type(1) > *,
.ff-position-voucher td:nth-of-type(1) > *,
.ff-position-page-break .e-inline-edit td:nth-of-type(1) > *,
.ff-position-text .e-inline-edit td:nth-of-type(1) > *,
.ff-position-shipping .e-inline-edit td:nth-of-type(1) > *,
.ff-position-total .e-inline-edit td:nth-of-type(1) > *,
.ff-position-voucher .e-inline-edit td:nth-of-type(1) > * {
    visibility: visible !important;
}

/* 4. Spalte */
.ff-position-page-break td:nth-of-type(4) > *,
.ff-position-text td:nth-of-type(4) > *,
.ff-position-shipping td:nth-of-type(4) > *,
.ff-position-total td:nth-of-type(4) > *,
.ff-position-voucher td:nth-of-type(4) > *,
.ff-position-page-break .e-inline-edit td:nth-of-type(4) > *,
.ff-position-text .e-inline-edit td:nth-of-type(4) > *,
.ff-position-shipping .e-inline-edit td:nth-of-type(4) > *,
.ff-position-total .e-inline-edit td:nth-of-type(4) > *,
.ff-position-voucher .e-inline-edit td:nth-of-type(4) > * {
    visibility: visible !important;
}

/* 7. Spalte */
.ff-position-page-break td:nth-of-type(7) > *,
.ff-position-text td:nth-of-type(7) > *,
.ff-position-shipping td:nth-of-type(7) > *,
.ff-position-total td:nth-of-type(7) > *,
.ff-position-voucher td:nth-of-type(7) > *,
.ff-position-page-break .e-inline-edit td:nth-of-type(7) > *,
.ff-position-text .e-inline-edit td:nth-of-type(7) > *,
.ff-position-shipping .e-inline-edit td:nth-of-type(7) > *,
.ff-position-total .e-inline-edit td:nth-of-type(7) > *,
.ff-position-voucher .e-inline-edit td:nth-of-type(7) > * {
    visibility: visible !important;
}

/* 8. Spalte */
.ff-position-page-break td:nth-of-type(8) > *,
.ff-position-text td:nth-of-type(8) > *,
.ff-position-shipping td:nth-of-type(8) > *,
.ff-position-total td:nth-of-type(8) > *,
.ff-position-voucher td:nth-of-type(8) > *,
.ff-position-page-break .e-inline-edit td:nth-of-type(8) > *,
.ff-position-text .e-inline-edit td:nth-of-type(8) > *,
.ff-position-shipping .e-inline-edit td:nth-of-type(8) > *,
.ff-position-total .e-inline-edit td:nth-of-type(8) > *,
.ff-position-voucher .e-inline-edit td:nth-of-type(8) > * {
    visibility: visible !important;
}

/* Spezialfall: Shipping-Position Spalten 9-12 */
.ff-position-shipping td:nth-child(9) > *,
.ff-position-shipping .e-inline-edit td:nth-child(9) > *,
.ff-position-shipping td:nth-child(10) > *,
.ff-position-shipping .e-inline-edit td:nth-child(10) > *,
.ff-position-shipping td:nth-child(11) > *,
.ff-position-shipping .e-inline-edit td:nth-child(11) > *,
.ff-position-shipping td:nth-child(12) > *,
.ff-position-shipping .e-inline-edit td:nth-child(12) > * {
    visibility: visible !important;
}