.ecommerce-campaign-fields { margin-top: 1rem; }
#ecommerce-product-campaign .ecommerce-editor__form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#ecommerce-product-campaign .ecommerce-editor__field { grid-column: auto; min-width: 0; }
#ecommerce-product-campaign .ecommerce-editor__field--wide { grid-column: 1 / -1; }
.ecommerce-campaign-preview { align-items: flex-start; background: var(--ictus-cyan-mist); border: 1px solid var(--ictus-cyan-light); border-radius: 10px; color: var(--ictus-blue); display: flex; gap: .65rem; margin: 1rem 0 .75rem; padding: .85rem; overflow-wrap: anywhere; }
.ecommerce-campaign-helper { color: var(--ictus-lead); font-size: .78rem; margin: .55rem 0 0; }
.ecommerce-campaign-badge, .ecommerce-campaign-line { background: var(--ictus-cyan-mist); border-radius: 6px; color: var(--ictus-blue); display: inline-block; font-size: .73rem; font-weight: 600; line-height: 1.4; margin-top: .4rem; padding: .3rem .5rem; overflow-wrap: anywhere; }
body.theme-dark .ecommerce-campaign-preview, body.theme-dark .ecommerce-campaign-badge, body.theme-dark #main .ecommerce-campaign-line { background: var(--ictus-dark-surface-hover); border-color: var(--ictus-dark-border); color: var(--ictus-cyan-light); }
body.theme-dark .ecommerce-campaign-helper { color: var(--ictus-dark-muted); }
body.theme-dark .ecommerce-editor--product, body.theme-dark .ecommerce-editor--product > form { background: var(--ictus-dark-surface); color: var(--ictus-screen); }
body.theme-dark .ecommerce-editor--product .ecommerce-product-config,
body.theme-dark .ecommerce-editor--product .ecommerce-product-choice { background: var(--ictus-dark-surface-hover); border-color: var(--ictus-dark-border); }
body.theme-dark .ecommerce-editor--product .ecommerce-editor__field > label,
body.theme-dark .ecommerce-editor--product header h4,
body.theme-dark .ecommerce-editor--product .ecommerce-product-choice strong,
body.theme-dark .ecommerce-editor--product .ecommerce-product-config__heading :is(span, h5) { color: var(--ictus-screen); }
body.theme-dark .ecommerce-editor--product .ecommerce-product-choice small,
body.theme-dark .ecommerce-editor--product .ecommerce-product-config__heading p { color: var(--ictus-dark-muted); }
body.theme-dark .ecommerce-editor--product .ecommerce-product-choice { display: flex; }
body.theme-dark .ecommerce-editor--product .ecommerce-product-choice input { flex: 0 0 1rem; }
body.theme-dark .ecommerce-editor--product input[type='datetime-local'] { color-scheme: dark; }
@media (max-width: 575.98px) { #ecommerce-product-campaign .ecommerce-editor__form-grid { grid-template-columns: minmax(0, 1fr); } }
