/* Match storefront product description image alignment in Summernote admin editor */
.note-editor .note-editing-area .note-editable img:not(.note-float-left):not(.note-float-right):not([style*='float: left']):not([style*='float:left']):not([style*='float: right']):not([style*='float:right']),
.note-editor .note-editing-area .note-editable video:not(.note-float-left):not(.note-float-right),
.note-editor .note-editing-area .note-editable iframe:not(.note-float-left):not(.note-float-right) {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.note-editor .note-editing-area .note-editable img.note-float-left,
.note-editor .note-editing-area .note-editable img[style*='float: left'],
.note-editor .note-editing-area .note-editable img[style*='float:left'] {
    float: left;
    margin: 0 10px 10px 0;
}

.note-editor .note-editing-area .note-editable img.note-float-right,
.note-editor .note-editing-area .note-editable img[style*='float: right'],
.note-editor .note-editing-area .note-editable img[style*='float:right'] {
    float: right;
    margin: 0 0 10px 10px;
}

.note-editor .note-editing-area .note-editable .col-md-12::after,
.note-editor .note-editing-area .note-editable p:has(img)::after {
    content: '';
    display: table;
    clear: both;
}
