.kordit-section--grid {
    .grid-editor {
        width: 100%;

        &__info {
            background: #f0f0f0;
            border: 1px dashed #ccc;
            padding: 1rem;
            margin-bottom: 1rem;
            text-align: center;
            font-size: 14px;
            color: #666;
            font-weight: 600;
        }

        &__items {
            width: 100%;

            // InnerBlocks wrapper - flex layout
            .block-editor-inner-blocks {
                display: flex !important;
                gap: var(--grid-gap, 16px) !important;
                flex-wrap: wrap !important;
            }

            .block-editor-block-list__layout {
                display: flex !important;
                gap: var(--grid-gap, 16px) !important;
                flex-wrap: wrap !important;
            }
        }
    }

    .kordit-card {
        flex-shrink: 0;
        width: var(--card-width, 100%);
    }

    // Force appender to be part of flex
    .block-list-appender {
        flex-shrink: 0;
        width: var(--card-width, 100%);
        order: 9999;
    }
}