/** BM Category Page: leave Creative Elements in charge of category content. */

/* The category header can live outside the content column. Keep only branches
 * containing a Creative Elements root, without hiding its headings or widgets.
 */
.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header):not(:has(.elementor)),
.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header) > :not(.elementor):not(:has(.elementor)),
.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header) :has(.elementor):not(.elementor):not(.elementor *) > :not(.elementor):not(:has(.elementor)),
.bm-description-only #left-column,
.bm-description-only #right-column,
.bm-description-only #wrapper > .breadcrumb,
.bm-description-only #footer #gift-budget,
.bm-description-only #footer .btm-text {
    display: none !important;
}

/* Remove theme columns, hero decoration and description clipping from the
 * containers around the widget; the widget keeps its own layout styles.
 */
.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header):has(.elementor),
.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header) :has(.elementor):not(.elementor):not(.elementor *),
.bm-description-only #wrapper,
.bm-description-only #wrapper :is(.container, .row):has(:is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header)) {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header):has(.elementor),
.bm-description-only :is(#content-wrapper, #center-column, #js-product-list-header, #product-list-header) :has(.elementor):not(.elementor):not(.elementor *) {
    display: block !important;
}

.bm-description-only header.with-bg {
    background: none !important;
}

.bm-description-only body#category .mh-cat-hero__desc-clip::after {
    display: none !important;
}
