/*
Theme Name:   Molla Child
Theme URI:    https://molla.996agency.com
Description:  Child theme for Molla. Put custom CSS/PHP here so parent theme updates do not overwrite your work. Activate this theme after installing Molla.
Author:       Molla
Author URI:   https://molla.996agency.com
Template:     Molla
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain:  molla-child
*/

/*
 * Add your custom styles below this comment, or enqueue files from functions.php.
 */

/*
 * Brand dark: Elementor brown global (#4B2E2A / 870ef80) → #222 everywhere.
 * Square corners sitewide (wood radius + buttons).
 * SF Pro Display stack sitewide (system font — no webfont download).
 */
body.molla-pack-theme-03,
body.molla-pack-theme-03 .elementor-kit-64,
.elementor-kit-64 {
	--e-global-color-870ef80: #222;
	--molla-wood-radius: 0px;
	--molla-wood-font: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--lignum-font: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--e-global-typography-primary-font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	--e-global-typography-secondary-font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	--e-global-typography-text-font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	--e-global-typography-accent-font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

body.molla-pack-theme-03,
body.molla-pack-theme-03 .elementor-kit-64,
body.molla-pack-theme-03 .site-main,
body.molla-pack-theme-03 .molla-wood-site-header,
body.molla-pack-theme-03 .molla-wood-site-footer,
body.molla-pack-theme-03 button,
body.molla-pack-theme-03 input,
body.molla-pack-theme-03 select,
body.molla-pack-theme-03 textarea {
	font-family: var(--molla-wood-font) !important;
}

/*
 * Shared 1440 content rail — use 100vw (not 100%) so nested columns
 * (e.g. About 50% pane) still align to the viewport rail.
 */
body.molla-pack-theme-03 {
	--lignum-rail-pad: max(clamp(16px, 3vw, 32px), calc((100vw - 1440px) / 2));
	/* Shared body copy — light sections */
	--lignum-para-color: #66615b;
	--lignum-para-lh: 1.55;
}

@media (max-width: 960px) {
	body.molla-pack-theme-03 {
		--lignum-rail-pad: max(16px, calc((100vw - 1440px) / 2));
	}
}

/* Wood page top-level Elementor sections — match hero rail */
body.molla-pack-theme-03 .site-main--wood .elementor > .e-con.e-parent,
body.molla-pack-theme-03 .site-main--wood .elementor > .elementor-element,
body.molla-pack-theme-03 .site-main--blocks .elementor > .e-con.e-parent,
body.molla-pack-theme-03 .site-main--blocks .elementor > .elementor-element {
	padding-left: var(--lignum-rail-pad) !important;
	padding-right: var(--lignum-rail-pad) !important;
	--padding-left: var(--lignum-rail-pad) !important;
	--padding-right: var(--lignum-rail-pad) !important;
}

/* Avoid double horizontal padding on the first inner wrapper */
body.molla-pack-theme-03 .site-main--wood .elementor > .e-con.e-parent > .e-con-inner,
body.molla-pack-theme-03 .site-main--wood .elementor > .elementor-element > .e-con-inner,
body.molla-pack-theme-03 .site-main--blocks .elementor > .e-con.e-parent > .e-con-inner,
body.molla-pack-theme-03 .site-main--blocks .elementor > .elementor-element > .e-con-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	max-width: none !important;
	width: 100% !important;
}

/* Custom bands — shared 1440 rail (full-bleed sections pad their own inner) */
body.molla-pack-theme-03 .lignum-home-hero__shell,
body.molla-pack-theme-03 .lignum-products__inner,
body.molla-pack-theme-03 .lignum-holz__inner,
body.molla-pack-theme-03 .lignum-workshop__inner,
body.molla-pack-theme-03 .lignum-contact .lc-container,
body.molla-pack-theme-03 .lignum-about-page .lap-container,
body.molla-pack-theme-03 .lignum-about-page__video-inner,
body.molla-pack-theme-03 .lignum-service {
	padding-left: var(--lignum-rail-pad) !important;
	padding-right: var(--lignum-rail-pad) !important;
}

/* Products / wood live inside an Elementor parent that already has the rail — don't double-pad */
body.molla-pack-theme-03 .elementor-element-lignprods .lignum-products__inner,
body.molla-pack-theme-03 .elementor-element-lignwood .lignum-wood__inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/*
 * About section (76e9d9fb): full-bleed for photo band.
 * Stats (59374c63): single equal rail — kill Elementor boxed 1440 left-align.
 * Kept in style.css (loads last among base) so it wins over the global rail rule above.
 */
body.molla-pack-theme-03 .site-main--wood .elementor > .elementor-element-76e9d9fb,
body.molla-pack-theme-03 .site-main--wood .elementor > .e-con.elementor-element-76e9d9fb {
	padding-left: 0 !important;
	padding-right: 0 !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.molla-pack-theme-03 .site-main--wood .elementor > .elementor-element-76e9d9fb > .e-con-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
}

body.molla-pack-theme-03 .elementor-element-1c5fd31e {
	--content-width: 100% !important;
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	align-self: stretch !important;
}

body.molla-pack-theme-03 .elementor-element-59374c63 {
	padding-left: var(--lignum-rail-pad) !important;
	padding-right: var(--lignum-rail-pad) !important;
	--padding-left: var(--lignum-rail-pad) !important;
	--padding-right: var(--lignum-rail-pad) !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	align-self: stretch !important;
}

body.molla-pack-theme-03 .elementor-element-7c2bbea2 {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Header top bar (address / hours). */
.site-header--header-wood .elementor-element-aedb30e,
.site-header--header-wood .elementor-element-aedb30e:not(.elementor-motion-effects-element-type-background),
.site-header--header-wood .elementor-element-aedb30e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #222 !important;
}

/*
 * Elementor editor: wood header sticky + first section fighting the canvas.
 * Keep relative so the client can edit without a stuck first block.
 */
body.elementor-editor-active .site-header--header-wood,
body.elementor-editor-active .molla-header-header-wood,
body.elementor-editor-active .site-header--header-wood.site-header--sticky,
body.elementor-editor-preview .site-header--header-wood,
body.elementor-editor-preview .site-header--header-wood.site-header--sticky,
.elementor-editor-active .site-header--header-wood,
.elementor-editor-active .site-header--sticky {
	position: relative !important;
	top: auto !important;
}

body.elementor-editor-active .elementor-edit-area .e-con.e-parent:first-child,
body.elementor-editor-active .elementor-edit-area .elementor-section:first-child,
body.elementor-editor-active .elementor-element-43d5598a,
.elementor-editor-active .elementor-edit-area__inner .e-con.e-parent.elementor-sticky,
.elementor-editor-active .elementor-edit-area__inner .elementor-sticky--active {
	position: relative !important;
	top: auto !important;
	inset: auto !important;
}

/* Front: sticky header sits under the WP admin bar when logged in. */
html.admin-bar .site-header--header-wood,
html.admin-bar .site-header--header-wood.site-header--sticky {
	top: 32px;
}
@media screen and (max-width: 782px) {
	html.admin-bar .site-header--header-wood,
	html.admin-bar .site-header--header-wood.site-header--sticky {
		top: 46px;
	}
}

/* Sitewide: square buttons (Elementor, wood forms, CTA links) */
body.molla-pack-theme-03 .elementor-button,
body.molla-pack-theme-03 a.elementor-button,
body.molla-pack-theme-03 .elementor-button[type="submit"],
body.molla-pack-theme-03 button.elementor-button,
body.molla-pack-theme-03 .elementor-button-link,
body.molla-pack-theme-03 .molla-wood-form__submit,
body.molla-pack-theme-03 .molla-wood-quote-modal__submit,
body.molla-pack-theme-03 .molla-wood-quote-modal__close,
body.molla-pack-theme-03 .molla-wood-contact-intro__btn,
body.molla-pack-theme-03 .molla-wood-contact-intro__submit,
body.molla-pack-theme-03 .lignum-about__btn,
body.molla-pack-theme-03 .lignum-home-hero__btn,
body.molla-pack-theme-03 .lignum-service__btn,
body.molla-pack-theme-03 button[type="submit"],
body.molla-pack-theme-03 input[type="submit"] {
	border-radius: 0 !important;
}

/* Primary / filled buttons → brand #222 */
body.molla-pack-theme-03 .elementor-button,
body.molla-pack-theme-03 a.elementor-button,
body.molla-pack-theme-03 button.elementor-button,
body.molla-pack-theme-03 .molla-wood-form__submit,
body.molla-pack-theme-03 .molla-wood-quote-modal__submit,
body.molla-pack-theme-03 .molla-wood-contact-intro__btn,
body.molla-pack-theme-03 .molla-wood-contact-intro__submit,
body.molla-pack-theme-03 button[type="submit"],
body.molla-pack-theme-03 input[type="submit"] {
	background-color: #222 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #222 !important;
}

body.molla-pack-theme-03 .elementor-button:hover,
body.molla-pack-theme-03 a.elementor-button:hover,
body.molla-pack-theme-03 button.elementor-button:hover,
body.molla-pack-theme-03 .molla-wood-form__submit:hover,
body.molla-pack-theme-03 .molla-wood-quote-modal__submit:hover,
body.molla-pack-theme-03 .molla-wood-contact-intro__btn:hover,
body.molla-pack-theme-03 .molla-wood-contact-intro__submit:hover,
body.molla-pack-theme-03 button[type="submit"]:hover,
body.molla-pack-theme-03 input[type="submit"]:hover {
	background-color: #111 !important;
	color: #fff !important;
	border-color: #111 !important;
}

/* Quote / booking modal + wood / contact forms — square everything */
body.molla-pack-theme-03 .molla-wood-quote-modal__panel,
body.molla-pack-theme-03 .molla-wood-booking-modal .molla-wood-quote-modal__panel,
body.molla-pack-theme-03 .molla-wood-form input,
body.molla-pack-theme-03 .molla-wood-form select,
body.molla-pack-theme-03 .molla-wood-form textarea,
body.molla-pack-theme-03 .molla-wood-form--quote input,
body.molla-pack-theme-03 .molla-wood-form--quote select,
body.molla-pack-theme-03 .molla-wood-form--quote textarea,
body.molla-pack-theme-03 .molla-wood-datepicker__trigger,
body.molla-pack-theme-03 .molla-wood-datepicker__pop,
body.molla-pack-theme-03 .molla-wood-form-success,
body.molla-pack-theme-03 .molla-wood-quote-service-fixed,
body.molla-pack-theme-03 .molla-wood-contact-intro__card,
body.molla-pack-theme-03 .molla-wood-contact-intro__form,
body.molla-pack-theme-03 .molla-wood-contact-intro__field input,
body.molla-pack-theme-03 .molla-wood-contact-intro__field textarea,
body.molla-pack-theme-03 .elementor-field-textual,
body.molla-pack-theme-03 .elementor-field-textual.elementor-size-sm,
body.molla-pack-theme-03 .elementor-field-textual.elementor-size-md,
body.molla-pack-theme-03 .elementor-field-textual.elementor-size-lg,
body.molla-pack-theme-03 input.elementor-field,
body.molla-pack-theme-03 textarea.elementor-field,
body.molla-pack-theme-03 select.elementor-field {
	border-radius: 0 !important;
}

/* Wood / legal mains: no bottom gap before footer. */
body.molla-pack-theme-03 .site-main--wood,
body.molla-pack-theme-03 .site-main--blocks {
	padding-bottom: 0 !important;
}

/* Language switcher: width fits selected label on desktop (drawer overrides below). */
@media (min-width: 961px) {
	.molla-wood-nav__lang .molla-t02-lang__select,
	.molla-t02-header .molla-t02-lang__select,
	#molla-header-lang {
		width: auto;
		min-width: 0;
		max-width: max-content;
		field-sizing: content;
		padding: 0 1.15em 0 0.35em !important;
		background-position: right 0.15em center !important;
	}
}

/* Hero intro text — slightly smaller clamp. */
.elementor-68 .elementor-element.elementor-element-5bad32a5 .elementor-heading-title {
	font-size: clamp(1.35rem, 2.6vw + 0.35rem, 3.25rem) !important;
	line-height: 1.2 !important;
}

/* Hero trust list spacing. */
.elementor-68 .elementor-element.elementor-element-5a5b093e.elementor-widget-icon-list .elementor-icon-list-items,
.elementor-element-5a5b093e .elementor-icon-list-items {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px !important;
}

/*
 * Footer: content rail 1440px centered; outer band + border stay full-bleed.
 */
body.molla-pack-theme-03 .molla-wood-site-footer,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.e-parent,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .elementor-element-7da59bc3,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.elementor-element-7da59bc3,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .elementor-element-22bad8dc,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.elementor-element-22bad8dc {
	width: 100% !important;
	max-width: none !important;
	--container-max-width: 100% !important;
}

/* Kill outer gutters so the top border spans the full viewport. */
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .elementor-element-7da59bc3,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.elementor-element-7da59bc3,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .elementor-element-22bad8dc,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.elementor-element-22bad8dc {
	padding-left: 0 !important;
	padding-right: 0 !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
}

/* Content rows — same side inset as the header and page sections. */
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-7da59bc3 > .e-con.e-child,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-22bad8dc > .e-con.e-child {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	padding-left: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2)) !important;
	padding-right: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2)) !important;
	--padding-left: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2)) !important;
	--padding-right: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2)) !important;
}

/* Internal divider stays full-bleed. */
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-7da59bc3 > .elementor-widget-divider,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-7da59bc3 > .elementor-element-515e0823 {
	width: 100% !important;
	max-width: none !important;
	align-self: stretch !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 960px) {
	body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .elementor-element-7da59bc3,
	body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.elementor-element-7da59bc3,
	body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .elementor-element-22bad8dc,
	body.molla-pack-theme-03 .molla-wood-site-footer .elementor > .e-con.elementor-element-22bad8dc {
		padding-left: 0 !important;
		padding-right: 0 !important;
		--padding-left: 0px !important;
		--padding-right: 0px !important;
	}

	body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-7da59bc3 > .e-con.e-child,
	body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-22bad8dc > .e-con.e-child {
		padding-left: max(16px, calc((100% - 1440px) / 2)) !important;
		padding-right: max(16px, calc((100% - 1440px) / 2)) !important;
		--padding-left: max(16px, calc((100% - 1440px) / 2)) !important;
		--padding-right: max(16px, calc((100% - 1440px) / 2)) !important;
	}
}

/*
 * Footer legal links (Datenschutz / Nutzungsbedingungen).
 * Elementor “inline list” CSS is flaky off the homepage — force a tight row.
 */
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-b88dacf {
	width: auto !important;
	max-width: max-content !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-b88dacf .elementor-icon-list-items {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 8px 24px !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-b88dacf .elementor-icon-list-item,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-b88dacf .elementor-inline-item {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

/*
 * Legal pages (privacy / terms): same 1440 rail as header; title + body share one left edge.
 */
body.molla-pack-theme-03 .site-main--blocks .entry-content {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(48px, 6vw, 80px);
	padding-left: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2));
	padding-right: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2));
}

body.molla-pack-theme-03 .site-main--blocks .molla-support-hero {
	padding-block: 0 8px;
}

body.molla-pack-theme-03 .site-main--blocks .molla-support-hero__inner {
	width: 100%;
	max-width: 42rem;
	margin-inline: 0;
	text-align: left;
}

body.molla-pack-theme-03 .site-main--blocks .molla-legal-body {
	padding-block: 12px 0;
}

body.molla-pack-theme-03 .site-main--blocks .molla-legal-body.is-layout-constrained > * {
	margin-left: 0 !important;
	margin-right: auto !important;
	max-width: 42rem !important;
}

/* Legal section titles — keep h5 scale, not inflated h2. */
body.molla-pack-theme-03 .site-main--blocks .molla-legal-body h2,
body.molla-pack-theme-03 .site-main--blocks .molla-legal-body h3,
body.molla-pack-theme-03 .site-main--blocks .molla-legal-body .wp-block-heading {
	font-size: 1.5rem !important; /* 24px — matches wood h5 */
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.01em !important;
	margin: 1.75rem 0 0.6rem !important;
}

body.molla-pack-theme-03 .site-main--blocks .molla-legal-body .wp-block-heading:first-child,
body.molla-pack-theme-03 .site-main--blocks .molla-legal-body h2:first-child {
	margin-top: 0 !important;
}

@media (max-width: 960px) {
	body.molla-pack-theme-03 .site-main--blocks .entry-content {
		padding-left: max(16px, calc((100% - 1440px) / 2));
		padding-right: max(16px, calc((100% - 1440px) / 2));
	}
}

/*
 * Header: content rail 1440px centered; outer strips + border lines stay full-bleed.
 * Main chrome has no .e-con-inner — side padding creates the rail without shrinking borders.
 */
.site-header--header-wood,
.site-header--header-wood .elementor-element-aedb30e,
.site-header--header-wood .elementor-element-30e1dc32 {
	width: 100% !important;
	max-width: none !important;
	--container-max-width: 100% !important;
}

/* Top bar + main chrome: no .e-con-inner — side padding creates the 1440 rail. */
.site-header--header-wood .elementor-element-aedb30e,
.site-header--header-wood .elementor-element-aedb30e.e-con,
.site-header--header-wood .elementor-element-aedb30e > .e-con-inner,
.site-header--header-wood .elementor-element-30e1dc32 > .e-con-inner,
.site-header--header-wood .elementor-element-30e1dc32.e-con {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding-left: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2)) !important;
	padding-right: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2)) !important;
}

@media (max-width: 960px) {
	.site-header--header-wood .elementor-element-aedb30e,
	.site-header--header-wood .elementor-element-aedb30e.e-con,
	.site-header--header-wood .elementor-element-aedb30e > .e-con-inner,
	.site-header--header-wood .elementor-element-30e1dc32 > .e-con-inner,
	.site-header--header-wood .elementor-element-30e1dc32.e-con {
		padding-left: max(16px, calc((100% - 1440px) / 2)) !important;
		padding-right: max(16px, calc((100% - 1440px) / 2)) !important;
	}
}

/* Project cards — whole card feels clickable. */
body.molla-pack-theme-03 .lignum-project-card--clickable {
	cursor: pointer;
}

/*
 * Partner logos: one column per logo (not fixed 6).
 */
body.molla-pack-theme-03 .molla-wood-logos {
	--lignum-logo-count: 5;
	grid-template-columns: repeat(var(--lignum-logo-count), minmax(0, 1fr)) !important;
	max-width: 960px;
}

body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(1):last-child) { --lignum-logo-count: 1; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(2):last-child) { --lignum-logo-count: 2; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(3):last-child) { --lignum-logo-count: 3; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(4):last-child) { --lignum-logo-count: 4; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(5):last-child) { --lignum-logo-count: 5; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(6):last-child) { --lignum-logo-count: 6; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(7):last-child) { --lignum-logo-count: 7; }
body.molla-pack-theme-03 .molla-wood-logos:has(> :nth-child(8):last-child) { --lignum-logo-count: 8; }

@media (max-width: 640px) {
	body.molla-pack-theme-03 .molla-wood-logos {
		grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)) !important;
		gap: 20px 16px;
	}
}

/* 3D sled stage — same height on every page that uses the widget. */
@media (min-width: 901px) {
	body.molla-pack-theme-03 .molla-wood-sled-stage {
		height: 82dvh !important;
		min-height: 82dvh !important;
	}
}

/* Sled section containers — no top padding */
body.molla-pack-theme-03 .elementor-element-93cef5dc,
body.molla-pack-theme-03 .elementor-element-a1b2c3d4,
body.molla-pack-theme-03 .elementor-element-c3d5e1f0 {
	--padding-top: 0 !important;
	padding-top: 0 !important;
}

/* 3D sled — square UI + black #222 canvas gradient */
body.molla-pack-theme-03 .molla-wood-sled-stage {
	border-radius: 0 !important;
	background:
		radial-gradient(ellipse 70% 60% at 55% 42%, #3a3a3a 0%, transparent 68%),
		radial-gradient(ellipse 90% 80% at 50% 50%, #2a2a2a 0%, #222 55%, #111 100%) !important;
}

body.molla-pack-theme-03 .molla-wood-sled-stage__model-btn,
body.molla-pack-theme-03 .molla-wood-sled-stage__hint,
body.molla-pack-theme-03 .molla-wood-sled-stage__spec-btn,
body.molla-pack-theme-03 .molla-wood-sled-stage__quote-btn {
	border-radius: 0 !important;
}

/* Homepage — remove Services, Projects, Holz biegen */
body.home .elementor-element-5546314c,
body.home .elementor-element-5157b314,
body.home .lignum-holz {
	display: none !important;
}

/* ——— Footer: dark #222 band + contact ——— */
body.molla-pack-theme-03 .molla-wood-site-footer,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-7da59bc3,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-22bad8dc {
	background: #222 !important;
	background-color: #222 !important;
	color: #eee !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	border-top: 0 !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer,
body.molla-pack-theme-03 .molla-wood-site-footer p,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-heading-title,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-icon-list-text,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-widget-text-editor,
body.molla-pack-theme-03 .molla-wood-site-footer label,
body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-social a {
	color: #eee !important;
}

/* Match redesign contact footer type scale */
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-5232c66b p,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-widget-text-editor p {
	font-size: 13px !important;
	line-height: 1.6 !important;
	color: #b8b7b4 !important;
	max-width: 350px;
}

body.molla-pack-theme-03 .molla-wood-site-footer .elementor-heading-title {
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.02em !important;
	margin-bottom: 14px !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .elementor-icon-list-text,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-icon-list-item a,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-icon-list-item {
	font-size: 13px !important;
	line-height: 1.9 !important;
	color: #bbb9b6 !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-2fe3d268,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-2fe3d268 p,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-b88dacf .elementor-icon-list-text {
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: #999 !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer a {
	color: #eee !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer a:hover,
body.molla-pack-theme-03 .molla-wood-site-footer a:focus {
	color: #fff !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer img.attachment-large,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-widget-image img {
	/* Keep original logo colors on dark footer */
	filter: none;
	opacity: 1;
}

body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-515e0823,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-widget-divider,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-divider-separator {
	border-color: rgba(238, 238, 238, 0.14) !important;
	background-color: rgba(238, 238, 238, 0.14) !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-form input,
body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-form--newsletter input[type="email"] {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(238, 238, 238, 0.22) !important;
	color: #eee !important;
	border-radius: 0 !important;
	font-size: 13px !important;
	min-height: 39px !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-form input::placeholder {
	color: rgba(238, 238, 238, 0.5) !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-form__submit {
	background-color: #eee !important;
	color: #222 !important;
	border-color: #eee !important;
	border-radius: 0 !important;
	font-size: 12px !important;
	min-height: 39px !important;
	padding: 0 18px !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-form__submit:hover {
	background-color: #fff !important;
	color: #111 !important;
	border-color: #fff !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-form--newsletter .elementor-heading-title,
body.molla-pack-theme-03 .molla-wood-site-footer .elementor-element-300a661a .elementor-heading-title,
body.molla-pack-theme-03 .molla-wood-site-footer [data-widget_type="heading.default"] .elementor-heading-title {
	font-size: 13px !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 18px 0 0;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-social a {
	font-size: 13px !important;
	letter-spacing: 0.04em;
	text-decoration: none;
	opacity: 0.85;
	color: #bbb9b6 !important;
}

body.molla-pack-theme-03 .molla-wood-site-footer .molla-wood-social a:hover {
	opacity: 1;
	color: #fff !important;
}

.lignum-footer-contact {
	margin: 0;
	max-width: 300px;
}

.lignum-footer-contact__addr {
	margin: 0 0 10px;
	font-size: 13px !important;
	line-height: 1.7 !important;
	color: #bbb9b6 !important;
}

.lignum-footer-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lignum-footer-contact__link {
	font-size: 13px !important;
	line-height: 1.7 !important;
	text-decoration: none;
	color: #bbb9b6 !important;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.lignum-footer-contact__link:hover,
.lignum-footer-contact__link:focus {
	color: #fff !important;
	border-bottom-color: rgba(255, 255, 255, 0.45);
}

/*
 * Shared paragraph tone on light homepage bands
 * (About / Products / Wood / stats) — same color + line-height.
 */
body.molla-pack-theme-03 .site-main--wood .lignum-about__lead,
body.molla-pack-theme-03 .site-main--wood .lignum-about__value,
body.molla-pack-theme-03 .site-main--wood .lignum-wood__lead,
body.molla-pack-theme-03 .site-main--wood .lignum-wood__tagline,
body.molla-pack-theme-03 .site-main--wood .lignum-products__lead,
body.molla-pack-theme-03 .site-main--wood .elementor-element-4967db09 .elementor-widget-text-editor,
body.molla-pack-theme-03 .site-main--wood .elementor-element-4967db09 .elementor-widget-text-editor p,
body.molla-pack-theme-03 .site-main--wood .elementor-element-39b7fd80 .elementor-widget-text-editor,
body.molla-pack-theme-03 .site-main--wood .elementor-element-39b7fd80 .elementor-widget-text-editor p,
body.molla-pack-theme-03 .site-main--wood .elementor-element-1eeb08c6 .elementor-widget-text-editor,
body.molla-pack-theme-03 .site-main--wood .elementor-element-1eeb08c6 .elementor-widget-text-editor p,
body.molla-pack-theme-03 .site-main--wood .elementor-element-23242c49 .elementor-widget-text-editor,
body.molla-pack-theme-03 .site-main--wood .elementor-element-23242c49 .elementor-widget-text-editor p,
body.home .lignum-about__lead,
body.home .lignum-about__value,
body.home .lignum-wood__lead,
body.home .lignum-wood__tagline {
	color: var(--lignum-para-color, #66615b) !important;
	line-height: var(--lignum-para-lh, 1.55) !important;
}

/* Mobile drawer — compact, on-brand (portaled panel under <html>). */
@media (max-width: 960px) {
	html > .molla-wood-nav__panel,
	.molla-wood-nav__panel.is-open {
		padding: 10px 16px 20px !important;
		width: min(86vw, 320px) !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__drawer-head,
	.molla-wood-nav__panel .molla-wood-nav__drawer-head {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 12px !important;
		min-height: 0 !important;
		padding: 0 0 10px !important;
		margin: 0 !important;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__brand,
	.molla-wood-nav__panel .molla-wood-nav__brand {
		display: inline-flex !important;
		align-items: center !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
		max-width: calc(100% - 44px) !important;
		min-height: 32px !important;
		line-height: 1 !important;
		text-decoration: none !important;
		color: #222 !important;
	}

	/* SVG logos need an explicit height — width/height:auto collapses viewBox-only SVGs to 0. */
	html > .molla-wood-nav__panel .molla-wood-nav__brand .molla-wood-logo__img,
	html > .molla-wood-nav__panel .molla-wood-nav__brand img,
	.molla-wood-nav__panel .molla-wood-nav__brand .molla-wood-logo__img,
	.molla-wood-nav__panel .molla-wood-nav__brand img {
		display: block !important;
		height: 22px !important;
		width: auto !important;
		max-width: 140px !important;
		max-height: none !important;
		object-fit: contain !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__brand .molla-wood-logo__text,
	.molla-wood-nav__panel .molla-wood-nav__brand .molla-wood-logo__text {
		font-size: 1.05rem !important;
		font-weight: 700 !important;
		letter-spacing: -0.02em !important;
		line-height: 1.2 !important;
		color: #222 !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__close,
	.molla-wood-nav__panel .molla-wood-nav__close {
		position: relative !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		min-height: 32px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		/* SVG X is drawn in the exact center of the square */
		background-color: #222 !important;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='%23fff' stroke-width='1.5' stroke-linecap='square' d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E") !important;
		background-repeat: no-repeat !important;
		background-position: center center !important;
		background-size: 16px 16px !important;
		color: transparent !important;
		font-size: 0 !important;
		line-height: 0 !important;
		flex-shrink: 0 !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__close::before,
	html > .molla-wood-nav__panel .molla-wood-nav__close::after,
	.molla-wood-nav__panel .molla-wood-nav__close::before,
	.molla-wood-nav__panel .molla-wood-nav__close::after {
		content: none !important;
		display: none !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__close span,
	.molla-wood-nav__panel .molla-wood-nav__close span {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		border: 0 !important;
		white-space: nowrap !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__list,
	.molla-wood-nav__panel .molla-wood-nav__list {
		margin: 0 !important;
		padding: 4px 0 !important;
		gap: 0 !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__list > li > a,
	.molla-wood-nav__panel .molla-wood-nav__list > li > a {
		padding: 12px 4px !important;
		font-size: 0.95rem !important;
		font-weight: 600 !important;
		letter-spacing: 0.04em !important;
		text-transform: uppercase !important;
		border-radius: 0 !important;
		color: #222 !important;
		background: transparent !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__list > li.current-menu-item > a,
	html > .molla-wood-nav__panel .molla-wood-nav__list > li.current_page_item > a,
	.molla-wood-nav__panel .molla-wood-nav__list > li.current-menu-item > a,
	.molla-wood-nav__panel .molla-wood-nav__list > li.current_page_item > a {
		color: #222 !important;
		background: transparent !important;
		box-shadow: inset 2px 0 0 #222;
		padding-left: 10px !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__list > li > a:hover,
	.molla-wood-nav__panel .molla-wood-nav__list > li > a:hover {
		background: transparent !important;
		opacity: 0.7;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__lang,
	.molla-wood-nav__panel .molla-wood-nav__lang {
		width: 100%;
		box-sizing: border-box;
		margin-top: 8px !important;
		padding: 12px 0 0 !important;
		border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
	}

	html > .molla-wood-nav__panel .molla-wood-nav__lang .molla-t02-lang,
	.molla-wood-nav__panel .molla-wood-nav__lang .molla-t02-lang {
		display: block;
		width: 100%;
	}

	html > .molla-wood-nav__panel #molla-header-lang,
	.molla-wood-nav__panel #molla-header-lang,
	.molla-wood-nav-open #molla-header-lang {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		padding: 0 28px 0 4px !important;
		background-position: right 4px center !important;
		field-sizing: fixed !important;
		font-size: 0.95rem !important;
		color: #222 !important;
	}
}
