/* Kitchen configurator: the app (assets/configurator/configurator.css) fills the full-width section,
   this only adds the space around it and tells the app how much of the screen the page takes. */

.iw-configurator-widget {
	padding: var(--iw-space-12) var(--iw-gutter);
}

/* On narrow screens the picture sticks below the theme's sticky header while decors are chosen. */
.iw-configurator-widget .iw-configurator {
	--iwc-sticky-top: calc(var(--iw-header-height) + 1px);
}

/* Wide screens: the picture runs to the left edge of the screen, the panel keeps the gutter, and
   the app sizes the picture so header + small top gap + configurator fit one screen. */
@media (min-width: 80rem) {
	.iw-configurator-widget {
		padding: var(--iw-space-4) var(--iw-gutter) var(--iw-space-8) 0;
	}

	.iw-configurator-widget .iw-configurator {
		--iwc-viewport-offset: calc(var(--iw-header-height) + 1px + var(--iw-space-4) * 2);
	}
}

/* Elementor editor: the app does not run there. */
.iw-configurator-widget--editor {
	display: grid;
	place-items: center;
	min-height: 320px;
	background: var(--iw-color-surface);
	color: var(--iw-color-ink);
	text-align: center;
}
