/* Mug & Magic – Pro Lite: small additions to Elementor Pro's own CSS. */

html.mmpl-no-scroll,
html.mmpl-no-scroll body {
	overflow: hidden;
}

/* Popup modal (Pro builds this with JS; we print it hidden). */
.mmpl-popup.elementor-popup-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, .8);
}
.mmpl-popup .dialog-widget-content {
	position: relative;
	max-height: 100vh;
}
.mmpl-popup .dialog-close-button {
	position: absolute;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	display: flex;
}
.mmpl-popup .dialog-close-button svg {
	width: 1em;
	height: 1em;
}

/* Live search results */
.e-search-results-container {
	display: none;
}
.e-search-results-container.mmpl-open {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
	max-height: 70vh;
	overflow: auto;
}
.e-search-input-wrapper {
	position: relative;
}
.e-search-results-list > * + * {
	border-top: 1px solid rgba(0, 0, 0, .06);
}
.e-search-nothing-found-message {
	padding: 12px 16px;
}
.mmpl-search-item {
	display: block;
	padding: 10px 16px;
}

/* Main-menu submenus */
.elementor-nav-menu--main .sub-menu.mmpl-open {
	display: block !important;
}

/* Form messages */
.elementor-form .elementor-message {
	margin: 10px 0;
	font-size: 1em;
	line-height: 1.4;
}
.elementor-form .elementor-message-success {
	color: #5cb85c;
}
.elementor-form .elementor-message-danger {
	color: #d9534f;
}
.elementor-form .elementor-error .elementor-field {
	border-color: #d9534f !important;
}
.elementor-form.elementor-form-waiting button[type="submit"] {
	opacity: .6;
	cursor: progress;
}

/* Product gallery is faded in by WooCommerce JS; never leave it invisible. */
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
	opacity: 1 !important;
}
