// Lock margin & margin handles to prevent layout breaking
form[data-op3-element-options-type="bulletlist"] {
    .op3-boxmodel {
        .op3-boxmodel-margin-top,
        .op3-boxmodel-margin-bottom,
        .op3-boxmodel-margin-left,
        .op3-boxmodel-margin-right {
            pointer-events: none;
            opacity: 0.5;

            & + .op3-boxmodel-handler {
                display: none;
            }
        }
    }

    .op3-element-options-property[data-op3-element-options-property-id="svgImageHref"] {
        .op3-image-url-preview-widget .op3-image-url-preview-clear {
            display: none !important;
        }
    }

    [data-op3-element-options-property-id="justifyContent"] {
        [data-jquery-select-buttons-option-value="normal"] .jquery-select-buttons-option-icon::before,
        [data-jquery-select-buttons-option-value="flex-start"] .jquery-select-buttons-option-icon::before { content: "\f450"; }
        [data-jquery-select-buttons-option-value="center"] .jquery-select-buttons-option-icon::before     { content: "\f454"; }
        [data-jquery-select-buttons-option-value="flex-end"] .jquery-select-buttons-option-icon::before   { content: "\f3fa"; }
    }

    [data-op3-element-options-property-id="bulletAlignment"] {
        .jquery-select-buttons-widget .jquery-select-buttons-option-icon {
            transform: rotate(90deg);
        }
    }

    &[data-op3-parent-options-property-value-flexdirection="row"] {
        [data-op3-element-options-property-id="bulletblockRowGap"],
        [data-op3-element-options-property-id="justifyContent"] {
            display: none;
        }
    }

    &[data-op3-parent-options-property-value-bulletblockMedia="none"] {
        [data-op3-content-item-name="bullet-list-bullet-options"] {
            display: none;
        }
    }

    &:not([data-op3-parent-options-property-value-bulletblockMedia="icon"]) {
        [data-op3-element-options-property-id="op3Icon"],
        [data-op3-content-item-name="color-icon-colour"] {
            display: none;
        }
    }

    &:not([data-op3-parent-options-property-value-bulletblockMedia="image"]) {
        [data-op3-element-options-property-id="svgImageHref"] {
            display: none;
        }
    }
}
