/*
 * Manufactt components – opt-in classes applied in Elementor (Advanced > CSS Classes).
 * Colors come from Elementor Global Colors, so Site Settings changes propagate.
 *
 * .mf-btn            Button widget: arrow icon box + text roll on hover.
 * .mf-btn--accent    Orange button with dark icon box.
 * .mf-btn--light     White button with orange icon box.
 * .mf-pill           Heading widget rendered as a small label with a square marker.
 * .mf-pill--dark     Label for dark backgrounds.
 * .mf-nav            Nav Menu widget: square marker on active/hover items, dark desktop dropdown.
 * .mf-grid-lines     Container: decorative vertical guide lines.
 * .mf-grid-lines--dark  Guide lines for dark backgrounds.
 * .mf-hl             Inline <span> inside headings: accent-colored words (.mf-hl-primary: lighter orange).
 * .mf-rating-small   Inline <span> for the small "/5.0" suffix in rating headings.
 * .mf-wordmark       Heading widget: oversized gradient wordmark (footer).
 * .mf-subscribe      Form widget: submit button placed inside the email field.
 */

:root {
	--mf-accent: var(--e-global-color-accent, #f5b307);
	--mf-primary: var(--e-global-color-primary, #f5b307);
	--mf-dark: var(--e-global-color-secondary, #151515);
	--mf-border: var(--e-global-color-mfgrey4, #d1d1d1);
	--mf-ease: cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* ---------- Button ---------- */
.mf-btn .elementor-button {
	transition: background-color 0.3s var(--mf-ease), color 0.3s var(--mf-ease);
}

.mf-btn .elementor-button-content-wrapper {
	align-items: center;
}

.mf-btn .elementor-button-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 3px 3px 10px 3px;
	background-image: linear-gradient(-45deg, var(--mf-accent), var(--mf-primary));
}

.mf-btn--accent .elementor-button-icon {
	background-image: none;
	background-color: var(--mf-dark);
}

.mf-btn .elementor-button-icon svg {
	width: 13px;
	height: 13px;
	fill: var(--mf-dark); /* Dark arrow on the yellow icon box. */
}

.mf-btn--accent .elementor-button-icon svg {
	fill: #fff;
}

.mf-btn .elementor-button-text {
	display: block;
	height: 1.3em;
	white-space: nowrap;
	overflow: hidden;
	line-height: 1.3em;
	text-shadow: 0 1.3em currentColor;
}

.mf-btn .elementor-button-text::before {
	content: "";
	display: block;
	transition: margin-top 0.35s var(--mf-ease);
}

.mf-btn .elementor-button:hover .elementor-button-text::before,
.mf-btn .elementor-button:focus-visible .elementor-button-text::before {
	margin-top: -1.3em;
}

.mf-btn .elementor-button:hover .elementor-button-icon svg,
.mf-btn .elementor-button:focus-visible .elementor-button-icon svg {
	animation: mf-arrow 0.45s var(--mf-ease);
}

@keyframes mf-arrow {
	0% { transform: translateX(0); }
	49% { transform: translateX(28px); }
	50% { transform: translateX(-28px); }
	100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.mf-btn .elementor-button-text::before { transition: none; }
	.mf-btn .elementor-button:hover .elementor-button-icon svg { animation: none; }
}

/* ---------- Pill label ---------- */
.mf-pill .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px 5px 12px;
	border: 1px solid var(--mf-border);
	border-radius: 100px;
	background-color: #fff;
}

.mf-pill .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	background-color: var(--mf-accent);
}

.mf-pill--dark .elementor-heading-title {
	border-color: rgba(255, 255, 255, 0.2);
	background-color: rgba(255, 255, 255, 0.06);
}

/* ---------- Navigation ---------- */
.elementor-location-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
}

body.admin-bar .elementor-location-header {
	top: 32px;
}

.elementor-location-header .mf-site-header {
	min-height: 88px;
	background: transparent !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
}

.elementor-location-header .mf-site-header .elementor-widget-theme-site-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.mf-nav .elementor-nav-menu--main .elementor-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Primary menu never wraps: from 1200px it scales down fluidly, below that the tablet burger takes over. */
@media (min-width: 1200px) {
	.elementor-location-header .mf-site-header {
		padding-left: clamp(30px, calc(30px + (100vw - 1200px) / 15), 50px) !important;
		padding-right: clamp(30px, calc(30px + (100vw - 1200px) / 15), 50px) !important;
	}
	.elementor-location-header .mf-site-header > .e-con-inner {
		gap: clamp(12px, calc(12px + (100vw - 1200px) / 37.5), 20px) !important;
	}
	.elementor-location-header .mf-site-header .elementor-widget-theme-site-logo {
		width: clamp(140px, calc(140px + (100vw - 1200px) / 4), 220px) !important;
		max-width: none !important;
		flex: 0 0 auto !important;
	}
	.elementor-location-header .mf-site-header .elementor-widget-theme-site-logo img {
		width: 100% !important;
	}
	.elementor-location-header .elementor-widget-nav-menu.mf-nav {
		flex: 1 1 0 !important;
		min-width: 0;
		container-type: inline-size;
	}
	.elementor-location-header .mf-nav .elementor-nav-menu--main .elementor-item {
		font-size: clamp(14px, calc(14px + (100vw - 1200px) / 150), 16px) !important;
		padding-left: clamp(3px, calc((100cqw - 38.5em - 100px) / 14), 15px) !important;
		padding-right: clamp(3px, calc((100cqw - 38.5em - 100px) / 14), 15px) !important;
	}
}

/* Language switcher between the menu and the CTA: flag + the other language, menu type and colours. */
.elementor-location-header .mf-lang-widget {
	flex: 0 0 auto !important;
	width: auto !important;
}

.mf-lang {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.mf-lang__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 0;
	color: var(--mf-dark) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: color 0.2s var(--mf-ease);
}

.mf-lang__flag {
	display: block;
	flex: none;
	width: 24px;
	height: 12px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.12), 0 1px 3px rgba(21, 21, 21, 0.12);
	transition: transform 0.2s var(--mf-ease);
}

.mf-lang__link:hover .mf-lang__flag,
.mf-lang__link:focus-visible .mf-lang__flag {
	transform: scale(1.08);
}

.mf-lang__link:hover,
.mf-lang__link:focus-visible {
	color: var(--mf-accent) !important;
}

/* Header over the hero video / dark service hero: white text like the menu. */
body.home .elementor-location-header .mf-lang__link:not(:hover):not(:focus-visible),
.single-mf_service .elementor-location-header .mf-lang__link:not(:hover):not(:focus-visible) {
	color: #fff !important;
}

/* Fractional bounds avoid the gap between breakpoints on zoomed / high-DPI screens (e.g. 1199.2px). */
@media (min-width: 991.01px) and (max-width: 1199.98px) {
	.elementor-location-header .mf-site-header .elementor-widget-theme-site-logo { flex-grow: 1 !important; }
	.elementor-location-header .elementor-widget-nav-menu.mf-nav { order: 99; }
	.elementor-location-header .mf-nav .elementor-nav-menu--main { display: none !important; }
	.elementor-location-header .mf-nav .elementor-menu-toggle { display: flex !important; }
	.elementor-location-header .mf-nav .elementor-nav-menu--dropdown { display: block !important; }
}

.mf-nav .elementor-nav-menu--main .elementor-item::before {
	content: "";
	position: static;
	flex: none;
	width: 6px;
	height: 6px;
	opacity: 0;
	background-color: var(--mf-accent);
	transform: scale(0);
	transition: opacity 0.25s var(--mf-ease), transform 0.25s var(--mf-ease);
}

.mf-nav .elementor-nav-menu--main .elementor-item:hover::before,
.mf-nav .elementor-nav-menu--main .elementor-item:focus-visible::before,
.mf-nav .elementor-nav-menu--main .elementor-item-active::before,
.mf-nav .elementor-nav-menu--main .highlighted::before {
	opacity: 1;
	transform: scale(1);
}

/* Desktop dropdown panel (the Nav Menu "Dropdown" style section drives the mobile panel). */
body .elementor-widget-nav-menu.mf-nav .elementor-nav-menu--main .sub-menu {
	padding: 14px 20px;
	border: 1px solid var(--mf-accent);
	border-radius: 5px;
	background-color: var(--mf-dark);
}

body .elementor-widget-nav-menu.mf-nav .elementor-nav-menu--main .sub-menu a.elementor-sub-item {
	padding: 7px 0;
	border: 0;
	background-color: transparent;
	color: #fff;
	font-size: 18px;
}

body .elementor-widget-nav-menu.mf-nav .elementor-nav-menu--main .sub-menu a.elementor-sub-item:hover,
body .elementor-widget-nav-menu.mf-nav .elementor-nav-menu--main .sub-menu a.elementor-sub-item.elementor-item-active {
	background-color: transparent;
	color: var(--mf-primary);
}

/* ---------- Decorative grid lines ---------- */
.mf-grid-lines {
	--mf-grid-line: rgba(21, 21, 21, 0.07);
	position: relative;
}

.mf-grid-lines--dark {
	--mf-grid-line: rgba(255, 255, 255, 0.07);
}

.mf-grid-lines::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: linear-gradient(to right, var(--mf-grid-line) 1px, transparent 1px);
	background-position: calc(50% + 150px) 0;
	background-size: 300px 100%;
}

.mf-grid-lines > .e-con-inner,
.mf-grid-lines > .elementor-element {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.mf-grid-lines::after {
		display: none;
	}
}

/* ---------- Typography helpers ---------- */
.mf-hl {
	color: var(--mf-accent);
}

.mf-wordmark .elementor-heading-title {
	background-image: linear-gradient(90deg, rgba(245, 179, 7, 0.5), rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.12));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}

/* ---------- Client logo rail ---------- */
.mf-client-marquee-section,
.mf-about-clients {
	overflow: hidden;
}

.mf-about-clients .elementor-element-a69fe6d {
	max-width: 1340px;
	margin-inline: auto;
	padding-inline: 30px;
}

.mf-client-logo-rail {
	width: 100%;
}

.mf-client-marquee {
	overflow: hidden;
	width: 100%;
	padding-block: 24px;
}

.mf-client-marquee__track {
	display: flex;
	width: max-content;
	animation: mf-client-rail 42s linear infinite;
}

.mf-client-marquee__group {
	display: flex;
	align-items: center;
	gap: 64px;
	padding-right: 64px;
}

.mf-client-marquee__item {
	display: grid;
	place-items: center;
	flex: 0 0 180px;
	height: 76px;
}

.mf-client-marquee__item img {
	display: block;
	max-width: 160px;
	max-height: 64px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.72;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.mf-client-marquee__item:hover img {
	filter: none;
	opacity: 1;
}

.mf-about-clients .mf-client-marquee__item img {
	filter: none;
	opacity: 1;
}

.mf-client-marquee-section .mf-client-marquee__item img {
	filter: none;
	opacity: 1;
}

@keyframes mf-client-rail {
	to { transform: translateX(-50%); }
}

/* ---------- Newsletter form (Form widget with a single email field) ---------- */
.mf-subscribe .elementor-form-fields-wrapper {
	position: relative;
	flex-wrap: nowrap;
}

.mf-subscribe .elementor-field-type-email .elementor-field {
	min-height: 60px;
	padding-right: 64px;
}

.mf-subscribe .elementor-field::placeholder {
	color: var(--e-global-color-mfgrey3, #a7a3a2);
	opacity: 1;
}

.mf-subscribe .e-form__buttons {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px !important;
	padding: 0 !important;
}

.mf-subscribe .elementor-button {
	width: 40px;
	min-height: 40px;
	padding: 0;
}

.mf-subscribe .elementor-button-icon svg {
	width: 13px;
	height: 13px;
}

.mf-subscribe .elementor-message {
	margin-top: 12px;
	color: #fff;
}

/* ---------- Footer credits ---------- */
.elementor-location-footer .mf-footer-logo img {
	display: block;
	width: min(180px, 100%);
	height: auto;
}

.elementor-location-footer .elementor-widget.mf-footer-logo {
	width: min(200px, 100%);
	padding: 0;
	border-radius: 0;
	background: transparent !important;
}

.elementor-widget.mf-credits a {
	color: var(--e-global-color-mfgrey4, #d1d1d1);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.elementor-widget.mf-credits a:hover {
	color: var(--mf-primary);
}

.elementor-location-footer .elementor-widget-heading .elementor-heading-title {
	font-size: 18px !important;
	line-height: 1.25 !important;
}

.elementor-location-footer .mf-credits {
	margin-left: auto;
	text-align: right;
}

.elementor-location-footer .mf-credits p {
	margin: 0;
}

@media (max-width: 767px) {
	body.admin-bar .elementor-location-header {
		top: 46px;
	}

	.mf-about-clients .elementor-element-a69fe6d {
		padding-inline: 15px;
	}

	.mf-client-marquee { padding-block: 18px; }
	.mf-client-marquee__group { gap: 32px; padding-right: 32px; }
	.mf-client-marquee__item { flex-basis: 136px; height: 58px; }
	.mf-client-marquee__item img { max-width: 124px; max-height: 50px; }

	.elementor-location-footer .mf-credits {
		margin-left: 0;
		text-align: left;
	}
}

/* ---------- Icon box with gradient (Icon widget, stacked view) ---------- */
.mf-icon-box .elementor-icon {
	background-image: linear-gradient(-45deg, var(--mf-accent), var(--mf-primary));
}

.mf-hl-primary {
	color: var(--mf-primary);
}

.mf-rating-small {
	font-family: var(--e-global-typography-secondary-font-family, "Geist"), sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--e-global-color-text, #5c5c5c);
}

/* ---------- Small content helpers ---------- */
.mf-hl-white {
	color: #fff;
}

/* Text Editor list with comfortable spacing and square bullets. */
.mf-list-spaced ul {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
	padding-left: 18px;
	list-style: square;
}

/* Chart point: dot on top of the vertical guide line (Home 2 performance chart). */
.mf-chart-point {
	position: relative;
}

.mf-chart-point::after { /* ::before is the Elementor background overlay */
	content: "";
	position: absolute;
	top: -5px;
	left: -5px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: var(--mf-primary);
}

/* ---------- Form widget: fields left, message right ---------- */
.mf-form-split .elementor-form-fields-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 30px;
}

.mf-form-split .elementor-field-group {
	width: 100%;
	max-width: none;
	margin: 0;
}

.mf-form-split .elementor-field-type-textarea {
	grid-column: 2;
	grid-row: 1 / span 3;
}

.mf-form-split .elementor-field-type-textarea textarea {
	height: 100%;
}

.mf-form-split .e-form__buttons {
	grid-column: 2;
	justify-content: flex-start;
}

.mf-form-split .e-form__buttons .elementor-button {
	width: auto;
}

.mf-form-split .elementor-field::placeholder {
	color: var(--e-global-color-mfgrey3, #a7a3a2);
	opacity: 1;
}

@media (max-width: 767px) {
	.mf-form-split .elementor-form-fields-wrapper {
		grid-template-columns: 1fr;
	}

	.mf-form-split .elementor-field-type-textarea,
	.mf-form-split .e-form__buttons {
		grid-column: auto;
		grid-row: auto;
	}
}

/* ---------- Link row (loop item): arrow nudges on hover ---------- */
.mf-link-row .elementor-widget-icon {
	transition: transform 0.3s var(--mf-ease);
}

.mf-link-row:hover .elementor-widget-icon,
.mf-link-row:focus-visible .elementor-widget-icon {
	transform: translateX(4px);
}

/* ---------- Team list: each row reveals its photo in the left column ----------
 * .mf-team        Section/inner container that positions the photos (relative).
 * .mf-team-row    Row container; its Image widget (.mf-team-photo, absolute) shows on hover/focus.
 */
.mf-team {
	position: relative;
}

.mf-team .mf-team-list,
.mf-team .mf-team-row {
	position: static;
}

.mf-team-photo {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.mf-team-row:hover .mf-team-photo,
.mf-team-row:focus-within .mf-team-photo,
.mf-team-list:not(:hover):not(:focus-within) .mf-team-row:first-child .mf-team-photo {
	opacity: 1;
}

.mf-expertise .mf-team-row {
	transition: transform 0.25s ease, background-color 0.25s ease, padding-inline 0.25s ease;
}

.mf-expertise .mf-team-row:hover,
.mf-expertise .mf-team-row:focus-within {
	padding-inline: 14px;
	background-color: rgba(245, 179, 7, 0.08);
	transform: translateX(4px);
}

.mf-expertise .mf-team-row .elementor-heading-title {
	transition: color 0.25s ease;
}

.mf-expertise .mf-team-row:hover .elementor-heading-title,
.mf-expertise .mf-team-row:focus-within .elementor-heading-title {
	color: var(--mf-accent) !important;
}

.mf-expertise .mf-expertise-photo {
	width: min(420px, 100%);
	margin-top: 18px;
	overflow: hidden;
	border-radius: 5px;
}

.mf-expertise .mf-expertise-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.mf-expertise .mf-expertise-photo:hover img {
	transform: scale(1.03);
	filter: brightness(0.96);
}

@media (max-width: 767px) {
	.mf-team-photo {
		display: none;
	}
}

.mf-list-tight ul {
	gap: 6px;
	list-style: disc;
}

/* ---------- Badge (Heading widget): small category / status label ---------- */
.mf-badge .elementor-heading-title {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	background-color: #fff;
}

.mf-badge--accent .elementor-heading-title {
	background-color: var(--mf-primary);
	color: var(--mf-dark);
}

/* ---------- Prose: Post Content / Text Editor holding long-form content ---------- */
.mf-prose h2,
.mf-prose h3,
.mf-prose h4,
.mf-prose h5,
.mf-prose h6 {
	margin: 1.6em 0 0.5em;
	font-family: var(--e-global-typography-primary-font-family, "Mona Sans"), sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--mf-dark);
}

.mf-prose p,
.mf-prose li {
	color: var(--e-global-color-text, #5c5c5c);
}

.mf-prose ul,
.mf-prose ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 18px;
}

.mf-prose blockquote {
	margin: 30px 0;
	padding: 30px;
	border: 0;
	border-radius: 5px;
	background-color: var(--mf-primary);
	color: var(--mf-dark);
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}

.mf-prose blockquote p {
	color: inherit;
}

.mf-prose .gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin: 30px 0;
}

.mf-prose .gallery-item {
	width: auto !important; /* overrides WP's inline gallery widths */
	max-width: none;
	margin: 0;
}

.mf-prose .gallery img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: 0 !important; /* WP core gallery adds a border */
	border-radius: 5px;
}

.mf-prose .gallery br {
	display: none;
}

@media (max-width: 767px) {
	.mf-prose h2,
	.mf-prose h3,
	.mf-prose h4,
	.mf-prose h5,
	.mf-prose h6 {
		font-size: 22px;
	}

	.mf-prose .gallery {
		grid-template-columns: 1fr 1fr;
	}
}

.mf-tight-paras p {
	margin: 0 0 10px;
}

/* WordPress password form (password-protected pages) */
.post-password-form {
	max-width: 520px;
	margin: 140px auto;
	padding: 0 15px;
}

.post-password-form input[type="password"] {
	width: 100%;
	min-height: 50px;
	margin: 10px 0 15px;
	padding: 10px 20px;
	border: 1px solid var(--mf-border);
	border-radius: 5px;
}

.post-password-form input[type="submit"] {
	padding: 14px 24px;
	border: 0;
	border-radius: 5px 5px 15px 5px;
	background-color: var(--mf-dark);
	color: #fff;
	cursor: pointer;
}

/* Decorative overlay that must not block clicks on the element underneath (e.g. "Show Reels" over a video). */
.mf-no-pointer {
	pointer-events: none;
}

.mf-request-form {
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
	background:
		radial-gradient(circle at 94% 88%, rgba(245, 179, 7, 0.28) 0%, rgba(245, 179, 7, 0.14) 22%, rgba(245, 179, 7, 0) 48%),
		#151515 !important;
}

.mf-request-form .elementor-form {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	min-height: 650px;
}

.mf-request-form .elementor-field-type-html {
	margin-top: 0;
}

.mf-request-form .mf-form-step {
	background: #f5b307;
	color: #101010;
	border-radius: 7px;
	padding: 14px 16px;
	font-weight: 800;
	line-height: 1.25;
}

.mf-request-form .mf-form-step span {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
	opacity: 0.74;
}

.mf-request-form .elementor-field-label,
.mf-request-form .elementor-field-option label {
	font-size: 14.5px !important;
	line-height: 1.28;
}

.mf-request-form .elementor-field-group[hidden] {
	display: none !important;
}

.mf-request-form .elementor-field-subgroup {
	display: grid;
	gap: 10px 18px;
}

.mf-request-form .elementor-field-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 4px 0;
}

.mf-request-form .elementor-field-option label {
	line-height: 1.35;
}

.mf-request-form .elementor-field-option input {
	flex: 0 0 auto;
	margin: 3px 0 0;
	min-height: 0;
}

.mf-request-form .elementor-field-type-radio:not(.elementor-field-group-pogonska_klasa) .elementor-field-subgroup {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mf-request-form .elementor-field-group-lift_nosivost,
.mf-request-form .elementor-field-group-lift_visina,
.mf-request-form .elementor-field-group-lift_broj_stanica,
.mf-request-form .elementor-field-group-lift_ulazi,
.mf-request-form .elementor-field-group-lift_brzina,
.mf-request-form .elementor-field-group-lift_dimenzije_okna,
.mf-request-form .elementor-field-group-lift_dimenzije_kabine,
.mf-request-form .elementor-field-group-lift_postojece_okno {
	width: 50% !important;
}

.mf-request-form .elementor-field-group-lift_oblaganje,
.mf-request-form .elementor-field-group-lift_tip_vrata {
	width: 100% !important;
}

.mf-request-form .elementor-field-group-lift_oblaganje .elementor-field-subgroup {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mf-request-form .elementor-field-group-pogonska_klasa .elementor-field-option {
	padding: 7px 0;
}

.mf-request-form select,
.mf-request-form input,
.mf-request-form textarea {
	min-height: 44px;
	border-radius: 7px !important;
	font-family: inherit;
	font-weight: 650;
}

.mf-request-form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #151515 !important;
	background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%278%27%20viewBox%3D%270%200%2012%208%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M1%201.5L6%206.5L11%201.5%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") !important;
	background-position: calc(100% - 16px) 50% !important;
	background-size: 12px 8px !important;
	background-repeat: no-repeat;
	color: #fff !important;
	padding-right: 42px !important;
}

.mf-request-form select::-ms-expand {
	display: none;
}

.mf-request-form .select-caret-down-wrapper {
	display: none !important;
}

.mf-request-form select option {
	background: #151515;
	color: #fff;
	font-family: inherit;
}

.mf-request-form .mf-step-nav {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin-top: auto;
	padding-top: 28px;
}

.mf-request-form .mf-step-progress {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--mf-step-count, 3), 1fr);
	align-items: center;
	width: 100%;
	flex: 0 0 100%;
	max-width: 260px;
	margin: 0 auto 26px;
}

.mf-request-form .mf-step-progress::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(100% / var(--mf-step-count, 3) / 2);
	right: calc(100% / var(--mf-step-count, 3) / 2);
	height: 1px;
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-50%);
}

.mf-request-form .mf-step-progress span {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mf-request-form .mf-step-progress i {
	display: inline-grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: #151515;
	color: rgba(255, 255, 255, 0.72);
	font-style: normal;
	font-size: 12px;
	font-weight: 850;
}

.mf-request-form .mf-step-progress span.is-active {
	color: #101010;
}

.mf-request-form .mf-step-progress span.is-active i {
	border-color: #f5b307;
	background: #f5b307;
	color: #101010;
}

.mf-request-form .mf-step-actions {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
}

.mf-request-form .mf-step-button {
	min-height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 7px;
	background: #f5b307;
	color: #101010;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.mf-request-form .mf-step-button:hover {
	transform: translateY(-1px);
	background: #ffc329;
}

.mf-request-form .mf-step-prev {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.mf-request-form .mf-step-next {
	margin-left: auto;
}

.mf-request-form .elementor-field-type-submit {
	width: 100%;
	margin-top: 14px;
}

.mf-request-form .elementor-field-type-submit button {
	border-radius: 7px !important;
}

.mf-request-form .elementor-field-type-submit:not(.mf-step-submit-visible) {
	display: none !important;
}

.mf-contact-inline-details {
	display: grid;
	gap: 8px;
	margin-top: 22px;
	color: #111;
}

.mf-contact-inline-details p {
	margin: 0;
}

.mf-contact-inline-details a {
	color: inherit;
	text-decoration: none;
}

.mf-contact-inline-details a:hover {
	color: #f5b307;
}

@media (min-width: 768px) {
	.mf-request-form .elementor-field-group-lift_oblaganje .elementor-field-subgroup {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 20px !important;
		width: 100% !important;
	}

	.mf-request-form .elementor-field-group-lift_oblaganje .elementor-field-option {
		flex: 0 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
	}
}

body.page-id-15 .mf-services-grid-clean .e-loop-item > .e-con,
body.page-id-15 .mf-service-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 8px;
	background: #f6f6f6;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.page-id-15 .mf-services-grid-clean .e-loop-item:hover > .e-con,
body.page-id-15 .mf-service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(245, 179, 7, 0.55);
	box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

body.page-id-15 .mf-service-card-media,
body.page-id-15 .mf-service-card .mf-zoom {
	overflow: hidden;
	border-radius: 7px;
}

body.page-id-15 .mf-service-card .elementor-heading-title {
	transition: color 0.24s ease;
}

body.page-id-15 .mf-service-card:hover .elementor-heading-title {
	color: #f5b307;
}

body.page-id-15 .mf-services-grid-clean .e-loop-item {
	animation: mfFadeUp 0.7s ease both;
}

body.page-id-15 .mf-services-grid-clean .e-loop-item:nth-child(2) {
	animation-delay: 0.08s;
}

body.page-id-15 .mf-services-grid-clean .e-loop-item:nth-child(3) {
	animation-delay: 0.16s;
}

body.page-id-15 .mf-services-grid-clean .e-loop-item:nth-child(4) {
	animation-delay: 0.24s;
}

body.page-id-15 .mf-services-hero {
	min-height: 580px;
	align-items: center;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	padding-top: 132px;
	padding-bottom: 88px;
}

body.page-id-15 .mf-services-hero > .e-con-inner {
	width: 100%;
	max-width: 1340px;
	margin-inline: auto;
	padding-inline: 30px;
}

body.page-id-15 .mf-services-hero-copy {
	max-width: 520px;
	margin-left: auto;
}

body.page-id-15 .mf-services-hero-copy p {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	color: #555;
}

/* Service hero: featured image sits behind header, title and excerpt. */
.single-mf_service .mf-service-hero {
	position: relative;
	min-height: 650px;
	justify-content: center;
	overflow: hidden;
	background: #151515;
}

.single-mf_service .mf-service-hero::before {
	z-index: 1;
}

.single-mf_service .mf-service-hero > .e-con-inner {
	position: static;
}

.single-mf_service .mf-service-hero > .elementor-element:not(.mf-service-hero-image),
.single-mf_service .mf-service-hero > .e-con-inner > .elementor-element:not(.mf-service-hero-image) {
	position: relative;
	z-index: 2;
}

.single-mf_service .mf-service-hero .mf-service-hero-image {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0;
}

.single-mf_service .mf-service-hero .mf-service-hero-image .elementor-widget-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.single-mf_service .mf-service-hero .mf-service-hero-image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
}

.single-mf_service .mf-service-hero .mf-service-hero-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(21, 21, 21, 0.72) 0%,
		rgba(21, 21, 21, 0.5) 35%,
		rgba(21, 21, 21, 0.55) 70%,
		rgba(21, 21, 21, 0.78) 100%
	);
	pointer-events: none;
}

.single-mf_service .mf-service-hero .elementor-heading-title,
.single-mf_service .mf-service-hero .elementor-widget-theme-post-excerpt,
.single-mf_service .mf-service-hero .elementor-widget-theme-post-excerpt p {
	color: #fff !important;
}

.single-mf_service .elementor-location-header .mf-nav .elementor-item {
	color: #fff !important;
}

.single-mf_service .elementor-location-header .mf-nav .elementor-item:hover,
.single-mf_service .elementor-location-header .mf-nav .elementor-item-active {
	color: var(--mf-accent) !important;
}

.single-mf_service .elementor-location-header .mf-btn--light .elementor-button {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.25) !important;
}

@media (max-width: 1024px) {
	.single-mf_service .mf-service-hero { min-height: 460px; }
}

@media (max-width: 767px) {
	.single-mf_service .mf-service-hero { min-height: 300px; }
}

.single-mf_service .mf-service-feature-grid {
	display: flex;
	flex-wrap: wrap;
}

.single-mf_service .mf-service-feature-card {
	position: relative;
	overflow: hidden;
	min-height: 190px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 8px;
	background: #fff;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.single-mf_service .mf-service-feature-card::after {
	content: "";
	position: absolute;
	inset: auto 18px 0;
	height: 3px;
	border-radius: 999px 999px 0 0;
	background: #f5b307;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s ease;
}

.single-mf_service .mf-service-feature-card:hover {
	transform: translateY(-5px);
	border-color: rgba(245, 179, 7, 0.55);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.single-mf_service .mf-service-feature-card:hover::after {
	transform: scaleX(1);
}

.single-mf_service .mf-service-feature-card .elementor-icon {
	transition: transform 0.25s ease;
}

.single-mf_service .mf-service-feature-card .mf-feature-icon img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.single-mf_service .mf-service-feature-grid h3 {
	margin: 22px 0 0;
	font-size: clamp(18px, 1.35vw, 21px);
	line-height: 1.28;
}

.single-mf_service .mf-service-feature-grid--3 .mf-service-feature-card {
	flex: 0 1 calc(33.333% - 14px) !important;
	width: calc(33.333% - 14px) !important;
	max-width: calc(33.333% - 14px);
}

.single-mf_service .mf-service-feature-grid--4 .mf-service-feature-card {
	flex: 0 1 calc(25% - 15px) !important;
	width: calc(25% - 15px) !important;
	max-width: calc(25% - 15px);
}

.mf-contact-faq-section {
	background: #f6f6f6;
}

.mf-contact-faq-list {
	display: grid;
	gap: 12px;
	max-width: 980px;
	margin: 0 auto;
}

.mf-contact-faq-list details {
	border: 1px solid rgba(17, 17, 17, 0.10);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.mf-contact-faq-list summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 22px 58px 22px 24px;
	font-weight: 800;
	color: #101010;
}

.mf-contact-faq-list summary::-webkit-details-marker {
	display: none;
}

.mf-contact-faq-list summary::after {
	content: "+";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #f5b307;
	color: #101010;
	transform: translateY(-50%);
	font-weight: 900;
}

.mf-contact-faq-list details[open] summary::after {
	content: "-";
}

.mf-contact-faq-list p {
	margin: 0;
	padding: 0 24px 24px;
	color: #555;
	line-height: 1.55;
}

@media (max-width: 767px) {
	.mf-request-form.elementor-widget-form {
		padding: 32px !important;
	}

	.mf-request-form .elementor-form {
		min-height: 0;
	}

	.mf-request-form .elementor-field-group {
		width: 100% !important;
	}

	.mf-request-form .elementor-field-type-radio:not(.elementor-field-group-pogonska_klasa) .elementor-field-subgroup {
		grid-template-columns: 1fr;
	}

	.mf-request-form .mf-step-nav {
		align-items: stretch;
		flex-direction: column;
	}

	.mf-request-form .mf-step-progress span {
		white-space: normal;
	}

	.mf-request-form .mf-step-actions {
		width: 100%;
	}

	.mf-request-form .mf-step-button {
		flex: 1 1 0;
	}

	body.page-id-15 .mf-services-hero {
		min-height: 0;
		padding-top: 118px;
		padding-bottom: 56px;
	}

	body.page-id-15 .mf-services-hero > .e-con-inner {
		padding-inline: 20px;
	}

	body.page-id-15 .mf-services-hero-copy {
		max-width: none;
		margin-left: 0;
	}

	.single-mf_service .mf-service-feature-grid--3 .mf-service-feature-card,
	.single-mf_service .mf-service-feature-grid--4 .mf-service-feature-card {
		flex-basis: 100% !important;
		width: 100% !important;
		max-width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.single-mf_service .mf-service-feature-grid--3 .mf-service-feature-card,
	.single-mf_service .mf-service-feature-grid--4 .mf-service-feature-card {
		flex-basis: calc(50% - 10px) !important;
		width: calc(50% - 10px) !important;
		max-width: calc(50% - 10px);
	}
}

.mf-mobile-call {
	display: none;
}

@media (max-width: 767px) {
	.mf-mobile-call {
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		bottom: 24px;
		right: 16px;
		z-index: 9990;
		width: 52px;
		height: 52px;
		border-radius: 14px;
		background: #151515;
		color: #f5b307;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
		transition: transform 0.2s ease, box-shadow 0.2s ease;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	.mf-mobile-call:active {
		transform: scale(0.93);
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
	}
}

/* ── Homepage hero: push content down from header ── */
.mf-home-hero {
	padding-top: 200px !important;
}

/* ── Services hero: smaller right-block text ── */
body.page-id-15 .mf-services-hero-copy .elementor-widget-text-editor {
	font-size: 15px !important;
	line-height: 1.6 !important;
}

/* ── Mobile button sizing (all pages) ── */
@media (max-width: 767px) {
	.mf-btn .elementor-button {
		font-size: 13px !important;
	}

	.mf-btn .elementor-button .elementor-button-content-wrapper {
		padding: 5px 5px 5px 14px !important;
	}

	.mf-btn .elementor-button-icon {
		width: 28px !important;
		height: 28px !important;
	}

	.mf-btn .elementor-button-icon svg {
		width: 11px !important;
		height: 11px !important;
	}

	/* Homepage hero: buttons side by side */
	.mf-home-hero .elementor-widget-button {
		flex: 1 1 0;
		min-width: 0;
	}

	.mf-home-hero .elementor-widget-button .elementor-button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 479px) {
	.mf-btn .elementor-button {
		font-size: 12px !important;
	}

	.mf-btn .elementor-button .elementor-button-content-wrapper {
		padding: 4px 4px 4px 12px !important;
	}

	.mf-btn .elementor-button-icon {
		width: 26px !important;
		height: 26px !important;
	}

	.mf-btn .elementor-button-icon svg {
		width: 10px !important;
		height: 10px !important;
	}
}

/* ── Product card hover ── */
.e-loop-item.type-mf_product {
	cursor: pointer;
}

.e-loop-item.type-mf_product > .e-con {
	position: relative;
	transition: transform 0.35s var(--mf-ease), border-color 0.35s var(--mf-ease), box-shadow 0.35s var(--mf-ease);
}

.e-loop-item.type-mf_product > .e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	opacity: 0;
	background: linear-gradient(180deg, rgba(245,179,7,0.08) 0%, transparent 60%);
	transition: opacity 0.35s var(--mf-ease);
	pointer-events: none;
	z-index: 1;
}

.e-loop-item.type-mf_product > .e-con:hover {
	transform: translateY(-6px);
	border-color: rgba(245, 179, 7, 0.45);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(245, 179, 7, 0.12);
}

.e-loop-item.type-mf_product > .e-con:hover::before {
	opacity: 1;
}

.e-loop-item.type-mf_product .elementor-widget-image img {
	transition: transform 0.45s var(--mf-ease);
}

.e-loop-item.type-mf_product > .e-con:hover .elementor-widget-image img {
	transform: scale(1.05);
}

.e-loop-item.type-mf_product .elementor-widget-image {
	overflow: hidden;
	border-radius: 5px;
}

/* Proizvodni program: equal-height image box, whole image visible (no crop). */
body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 280px;
	position: relative;
	border-radius: 5px;
	background: #222;
	isolation: isolate;
}

/* Uniform frames: a blurred copy of the same photo fills the space around portrait/wide images. */
body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image::before {
	content: "";
	position: absolute;
	inset: -24px;
	z-index: -1;
	background: var(--mf-card-img, none) center / cover no-repeat;
	filter: blur(18px) brightness(0.55);
}

body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image a,
body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image .elementor-widget-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	border-radius: 0 !important;
}

@media (max-width: 1024px) {
	body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image { height: 320px; }
}

@media (max-width: 767px) {
	body.page-id-16 .e-loop-item.type-mf_product .elementor-widget-image { height: 260px; }
}

/* ── Product single: back link ── */
.mf-product-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mf-accent);
	text-decoration: none;
	transition: gap 0.25s var(--mf-ease);
}

.mf-product-back:hover {
	gap: 12px;
}

.mf-product-back svg {
	width: 18px;
	height: 18px;
	transition: transform 0.25s var(--mf-ease);
}

.mf-product-back:hover svg {
	transform: translateX(-3px);
}

/* ── Homepage hero actions: force row on mobile ── */
@media (max-width: 767px) {
	.mf-home-hero .elementor-element-e1622b4 {
		flex-direction: row !important;
		gap: 10px !important;
	}
}

@media (max-width: 479px) {
	.mf-home-hero .elementor-element-e1622b4 {
		gap: 8px !important;
	}
}

/* ── About page: looping video ── */
.mf-about-video {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #151515;
	aspect-ratio: 16 / 9;
}
.mf-about-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Looping video block + play/pause toggle ── */
.mf-video-block {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	margin-top: 16px;
	overflow: hidden;
	border-radius: 12px;
	background: #151515 center / cover no-repeat;
	box-shadow: 0 24px 60px -30px rgba(21, 21, 21, 0.45);
	isolation: isolate;
}
.mf-video-block video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
.mf-video-block::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(21, 21, 21, 0) 60%, rgba(21, 21, 21, 0.35) 100%);
}
.mf-video-block--fill {
	position: absolute;
	inset: 0;
	height: 100%;
	padding-top: 0;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
}
.mf-video-toggle {
	position: absolute;
	z-index: 3;
	right: 20px;
	bottom: 20px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(21, 21, 21, 0.45);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.mf-video-toggle svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
.mf-video-toggle:hover,
.mf-video-toggle.is-paused {
	background: #F5B307;
	border-color: #F5B307;
	color: #151515;
}
.mf-video-toggle:active { transform: scale(0.94); }
.mf-video-toggle:focus-visible {
	outline: 2px solid #F5B307;
	outline-offset: 3px;
}
@media (max-width: 767px) {
	.mf-video-block { border-radius: 8px; margin-top: 8px; }
	.mf-video-block--fill { border-radius: 0; margin: 0; }
	.mf-video-toggle { width: 38px; height: 38px; right: 12px; bottom: 12px; }
	.mf-video-toggle svg { width: 14px; height: 14px; }
}

/* ── Product single: float image layout ── */
.mf-product-hero-inner {
	display: block !important;
}
.mf-product-hero-inner > .e-con-inner {
	display: block !important;
}
.mf-product-hero-img {
	float: right;
	width: 48%;
	max-width: 600px;
	margin: 0 0 28px 40px;
	border-radius: 8px;
	overflow: hidden;
}
.mf-product-hero-img img {
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: initial !important;
	aspect-ratio: auto !important;
	display: block;
	border-radius: 8px;
}
.mf-product-hero-inner .elementor-widget-theme-post-title .elementor-heading-title {
	font-size: 40px !important;
	line-height: 1.15 !important;
	margin: 0 0 8px !important;
}
.mf-product-hero-inner .elementor-widget-heading:not(.elementor-widget-theme-post-title) .elementor-heading-title {
	font-size: 20px !important;
	line-height: 1.4 !important;
	font-weight: 500 !important;
	color: #5c5c5c !important;
	margin: 0 0 28px !important;
}
.mf-product-hero-inner .elementor-widget-theme-post-content {
	clear: none;
	font-size: 17px;
	line-height: 1.7;
}
.mf-product-hero-inner .elementor-widget-theme-post-content p {
	text-align: justify;
	hyphens: auto;
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 16px;
}
.mf-product-hero-inner .elementor-widget-theme-post-content :is(h2, h3, h4) {
	font-size: 26px !important;
	line-height: 1.25 !important;
	font-weight: 600;
	text-align: left !important;
	margin: 36px 0 14px !important;
}
.mf-product-hero-inner .elementor-widget-theme-post-content > :first-child,
.mf-product-hero-inner .elementor-widget-theme-post-content .elementor-widget-container > :first-child {
	margin-top: 0 !important;
}
.mf-product-hero-inner .elementor-widget-theme-post-content :is(ul, ol) {
	margin: 0 0 16px;
	padding-left: 22px;
	line-height: 1.7;
}
.mf-product-hero-inner .elementor-widget-button {
	padding-top: 12px;
}
.mf-product-hero-inner > .e-con-inner::after,
.mf-product-hero-inner::after {
	content: "";
	display: table;
	clear: both;
}
.mf-product-hero-inner .elementor-widget-theme-post-content ul,
.mf-product-hero-inner .elementor-widget-theme-post-content ol {
	text-align: left;
}

@media (max-width: 767px) {
	.mf-product-hero-img {
		float: none;
		width: 100%;
		max-width: none;
		margin: 0 0 24px 0 !important;
	}
	.mf-product-hero-inner .elementor-widget-theme-post-content,
	.mf-product-hero-inner .elementor-widget-theme-post-content p {
		text-align: left;
	}
	.mf-product-hero-inner .elementor-widget-theme-post-title .elementor-heading-title {
		font-size: 30px !important;
	}
	.mf-product-hero-inner .elementor-widget-heading:not(.elementor-widget-theme-post-title) .elementor-heading-title {
		font-size: 17px !important;
		margin-bottom: 20px !important;
	}
	.mf-product-hero-inner .elementor-widget-theme-post-content :is(h2, h3, h4) {
		font-size: 22px !important;
		margin: 28px 0 12px !important;
	}
}

/* ── Reference accordion gallery ── */
.mf-ref-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	width: 100%;
	aspect-ratio: 2.4 / 1;
	overflow: hidden;
	transition: grid-template-columns 400ms var(--mf-ease);
}

.mf-ref-gallery:has(:nth-child(1):hover) { grid-template-columns: 4fr 1fr 1fr 1fr 1fr; }
.mf-ref-gallery:has(:nth-child(2):hover) { grid-template-columns: 1fr 4fr 1fr 1fr 1fr; }
.mf-ref-gallery:has(:nth-child(3):hover) { grid-template-columns: 1fr 1fr 4fr 1fr 1fr; }
.mf-ref-gallery:has(:nth-child(4):hover) { grid-template-columns: 1fr 1fr 1fr 4fr 1fr; }
.mf-ref-gallery:has(:nth-child(5):hover) { grid-template-columns: 1fr 1fr 1fr 1fr 4fr; }

.mf-ref-gallery > div {
	position: relative;
	overflow: hidden;
	background-image: var(--bg-img);
	background-size: cover;
	background-position: center;
	cursor: pointer;
}

.mf-ref-gallery > div::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(21, 21, 21, 0.25);
	transition: background 400ms var(--mf-ease);
}

.mf-ref-gallery > div:hover::before {
	background: linear-gradient(90deg, rgba(21, 21, 21, 0.6) 0%, rgba(21, 21, 21, 0.1) 55%, transparent 100%);
}

.mf-ref-gallery > div::after {
	content: attr(data-label);
	position: absolute;
	left: 24px;
	bottom: 32px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	white-space: nowrap;
	font-family: 'Mona Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	opacity: 0;
	transition: opacity 300ms 120ms var(--mf-ease);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 0, 0, 0.3);
}

.mf-ref-gallery > div:hover::after {
	opacity: 1;
}

@media (max-width: 991px) {
	.mf-ref-gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 4px;
		aspect-ratio: auto;
	}
	.mf-ref-gallery > div {
		aspect-ratio: 16 / 9;
	}
	.mf-ref-gallery > div:last-child {
		grid-column: 1 / -1;
		aspect-ratio: 21 / 9;
	}
	.mf-ref-gallery:has(:nth-child(1):hover),
	.mf-ref-gallery:has(:nth-child(2):hover),
	.mf-ref-gallery:has(:nth-child(3):hover),
	.mf-ref-gallery:has(:nth-child(4):hover),
	.mf-ref-gallery:has(:nth-child(5):hover) {
		grid-template-columns: 1fr 1fr;
	}
	.mf-ref-gallery > div::after {
		writing-mode: horizontal-tb;
		transform: none;
		opacity: 1;
		font-size: 13px;
		left: 16px;
		bottom: 16px;
		top: auto;
		letter-spacing: 0.06em;
	}
	.mf-ref-gallery > div::before {
		background: linear-gradient(0deg, rgba(21,21,21,0.6) 0%, transparent 50%);
	}
}

@media (max-width: 767px) {
	.mf-ref-gallery {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
		gap: 4px !important;
		aspect-ratio: auto !important;
		overflow: visible !important;
		transition: none !important;
	}
	.mf-ref-gallery > div {
		aspect-ratio: auto !important;
		height: 44vw !important;
		min-height: 150px;
		flex-shrink: 0;
	}
	.mf-ref-gallery > div:last-child {
		grid-column: auto;
		aspect-ratio: auto !important;
	}
	.mf-ref-gallery:has(:nth-child(1):hover),
	.mf-ref-gallery:has(:nth-child(2):hover),
	.mf-ref-gallery:has(:nth-child(3):hover),
	.mf-ref-gallery:has(:nth-child(4):hover),
	.mf-ref-gallery:has(:nth-child(5):hover) {
		grid-template-columns: none !important;
	}
	.mf-ref-gallery > div::before {
		background: linear-gradient(0deg, rgba(21,21,21,0.55) 0%, transparent 50%) !important;
	}
	.mf-ref-gallery > div:hover::before {
		background: linear-gradient(0deg, rgba(21,21,21,0.55) 0%, transparent 50%) !important;
	}
	.mf-ref-gallery > div::after {
		writing-mode: horizontal-tb !important;
		transform: none !important;
		opacity: 1 !important;
		left: 20px !important;
		bottom: 16px !important;
		top: auto !important;
		translate: none !important;
		font-size: 14px !important;
		letter-spacing: 0.06em !important;
	}
}

/* ---------- Mobile / Tablet Nav Menu ---------- */

/* Hamburger toggle icon */
.mf-nav .elementor-menu-toggle {
	padding: 8px;
	border: 2px solid var(--mf-accent) !important;
	border-radius: 6px;
	background: transparent !important;
	color: var(--mf-dark) !important;
	transition: background 0.25s, color 0.25s;
}
.mf-nav .elementor-menu-toggle:hover,
.mf-nav .elementor-menu-toggle[aria-expanded="true"] {
	background: var(--mf-accent) !important;
	color: var(--mf-dark) !important;
}
.mf-nav .elementor-menu-toggle svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Dropdown panel — needs enough specificity to override Elementor inline widget CSS
   (.elementor-56 .elementor-element.elementor-element-8d3e603 selectors). */
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container {
	background: var(--mf-dark) !important;
	border: none !important;
	border-top: 3px solid var(--mf-accent) !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
	padding: 24px 28px 28px !important;
}

/* Main menu items */
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-item,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-sub-item {
	color: #fff !important;
	background: transparent !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	padding: 12px 0 !important;
	border: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	transition: color 0.2s, padding-left 0.2s;
}

body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-item:hover,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-item:focus,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-sub-item:hover,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-sub-item:focus {
	color: var(--mf-accent) !important;
	background: transparent !important;
	padding-left: 8px !important;
}

/* Sub-menu items: slightly indented */
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item {
	font-size: 15px !important;
	font-weight: 400 !important;
	padding-left: 16px !important;
}
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item:hover,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item:focus {
	padding-left: 24px !important;
}

/* Sub-arrow chevron */
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown .sub-arrow svg {
	fill: var(--mf-accent);
	width: 12px;
	height: 12px;
	transition: transform 0.25s;
}

/* Last item: no bottom border */
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown > ul > li:last-child > a {
	border-bottom: none !important;
}

/* Hover/active states that Elementor widget CSS also sets with mfwhite background */
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a:hover,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a:focus,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.highlighted,
body .elementor-nav-menu--toggle.mf-nav .elementor-nav-menu--dropdown a.elementor-item-active {
	background-color: transparent !important;
}

/* Service single page: light hamburger on dark hero */
.single-mf_service .elementor-location-header .mf-nav .elementor-menu-toggle {
	border-color: rgba(255, 255, 255, 0.4) !important;
	color: #fff !important;
}
.single-mf_service .elementor-location-header .mf-nav .elementor-menu-toggle:hover,
.single-mf_service .elementor-location-header .mf-nav .elementor-menu-toggle[aria-expanded="true"] {
	background: var(--mf-accent) !important;
	border-color: var(--mf-accent) !important;
	color: var(--mf-dark) !important;
}

/* ===== Seming request form: crane configurator ===== */
.mf-configurator {
	position: relative;
	margin-top: 8px;
	padding: 26px;
	border: 1px solid #dcd9d4;
	border-radius: 5px;
	background: #fff;
}

.mf-configurator__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #f5b307;
}

.mf-configurator__label::before {
	content: "";
	width: 18px;
	height: 2px;
	background: currentColor;
}

.mf-configurator__title {
	margin: 10px 0 6px;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.15;
	color: #151515;
}

.mf-configurator__desc {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: #5c5c5c;
}

.mf-configurator__options {
	display: grid;
	gap: 10px;
}

.mf-configurator__option {
	display: grid;
	grid-template-columns: 76px 1fr 34px;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 8px 12px 8px 8px;
	border: 1px solid #dcd9d4;
	border-radius: 12px;
	background: #fff;
	color: #151515;
	font: inherit;
	text-align: left;
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px);
	animation: mfConfigIn 0.55s cubic-bezier(.22, 1, .36, 1) forwards;
	animation-delay: calc(var(--i, 0) * 0.08s + 0.1s);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.mf-configurator__option:hover {
	border-color: #151515;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(21, 21, 21, 0.08);
}

.mf-configurator__option:focus-visible {
	outline: 2px solid #f5b307;
	outline-offset: 2px;
}

.mf-configurator__option.is-active {
	border-color: #f5b307;
	background: #fffaf0;
	box-shadow: 0 0 0 1px #f5b307, 0 14px 30px rgba(245, 179, 7, 0.14);
}

.mf-configurator__media {
	display: grid;
	place-items: center;
	height: 58px;
	overflow: hidden;
	border-radius: 8px;
	background: #f5f4f2;
	color: #8d8d8d;
}

.mf-configurator__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	padding: 4px;
}

.mf-configurator__media svg {
	width: 52px;
	height: auto;
}

.mf-configurator__text strong {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.mf-configurator__text small {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	color: #7a7a7a;
}

.mf-configurator__arrow {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f5f4f2;
	color: #151515;
	transition: background 0.25s ease, transform 0.25s ease;
}

.mf-configurator__arrow svg {
	width: 16px;
	height: 16px;
}

.mf-configurator__option:hover .mf-configurator__arrow {
	transform: translateX(3px);
}

.mf-configurator__option.is-active .mf-configurator__arrow {
	background: #f5b307;
}

@keyframes mfConfigIn {
	to {
		opacity: 1;
		transform: none;
	}
}

/* Step progress label */
.mf-request-form .mf-step-progress {
	row-gap: 10px;
}

.mf-request-form .mf-step-progress::before {
	top: 14px;
	transform: none;
}

.mf-request-form .mf-step-progress span.is-complete i {
	border-color: rgba(245, 179, 7, 0.6);
	color: #f5b307;
}

.mf-request-form .mf-step-progress__label {
	grid-column: 1 / -1;
	text-align: center;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

/* Required marker */
.mf-request-form .elementor-field-required > .elementor-field-label::after {
	content: " *";
	color: #f5b307;
}

/* Images inside form steps */
.mf-request-form .mf-form-figure {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 14px;
	border-radius: 10px;
	background: #fff;
}

.mf-request-form .mf-form-figure img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 170px;
	object-fit: contain;
}

.mf-request-form .mf-form-figure--sketch img {
	width: auto;
	height: auto;
	max-height: 260px;
}

/* Crane type photo: same 198px frame, whole photo visible.
   JS fills the frame with the photo's own edge pixels so the colours match exactly. */
.mf-request-form .mf-form-figure--swap {
	height: 198px;
	padding: 0;
	overflow: hidden;
}

.mf-request-form .mf-form-figure--swap img {
	width: auto;
	height: auto;
	max-height: 100%;
}

/* Radio options as selectable tiles */
.mf-request-form .elementor-field-type-radio .elementor-field-subgroup {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
	gap: 8px !important;
}

.mf-request-form .elementor-field-group-pogonska_klasa .elementor-field-subgroup {
	grid-template-columns: 1fr !important;
}

.mf-request-form .elementor-field-type-radio.elementor-field-group-lift_postojece_okno .elementor-field-subgroup {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.mf-request-form .elementor-field-type-radio .elementor-field-option {
	position: relative;
	align-items: center;
	margin: 0 !important;
	padding: 11px 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.mf-request-form .elementor-field-type-radio .elementor-field-option:hover {
	border-color: rgba(255, 255, 255, 0.35);
}

.mf-request-form .elementor-field-type-radio .elementor-field-option:has(input:checked) {
	border-color: #f5b307;
	background: rgba(245, 179, 7, 0.1);
}

.mf-request-form .elementor-field-type-radio .elementor-field-option input {
	margin: 0;
	accent-color: #f5b307;
	cursor: pointer;
}

.mf-request-form .elementor-field-type-radio .elementor-field-option label {
	cursor: pointer;
}

.mf-request-form .elementor-field-type-radio .elementor-field-option label::before {
	content: "";
	position: absolute;
	inset: 0;
}

/* Feedback when a disallowed character is typed */
.mf-request-form .mf-input-rejected input {
	animation: mfReject 0.45s ease;
}

@keyframes mfReject {
	0%, 100% { transform: none; }
	25% { transform: translateX(-4px); box-shadow: 0 0 0 1px #f5b307; }
	75% { transform: translateX(4px); box-shadow: 0 0 0 1px #f5b307; }
}

/* Step transition */
.mf-request-form .mf-step-enter {
	animation: mfStepIn 0.45s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes mfStepIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.mf-configurator {
		padding: 20px 16px;
	}

	.mf-configurator__option {
		grid-template-columns: 64px 1fr 30px;
		gap: 12px;
	}

	.mf-request-form .elementor-field-group {
		width: 100% !important;
	}

	.mf-request-form .mf-form-figure--sketch img {
		max-height: 200px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mf-configurator__option,
	.mf-request-form .mf-step-enter,
	.mf-request-form .mf-input-rejected input {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* Override global theme/kit button and heading styles inside the configurator */
.mf-configurator button.mf-configurator__option {
	min-height: 0 !important;
	padding: 8px 12px 8px 8px !important;
	border: 1px solid #dcd9d4 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #151515 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	box-shadow: none;
}

.mf-configurator button.mf-configurator__option:hover {
	border-color: #151515 !important;
	box-shadow: 0 12px 28px rgba(21, 21, 21, 0.08);
}

.mf-configurator button.mf-configurator__option.is-active {
	border-color: #f5b307 !important;
	background: #fffaf0 !important;
	box-shadow: 0 0 0 1px #f5b307, 0 14px 30px rgba(245, 179, 7, 0.14);
}

.mf-configurator h3.mf-configurator__title {
	margin: 10px 0 6px !important;
	font-size: clamp(20px, 2vw, 26px) !important;
	line-height: 1.15 !important;
	color: #151515 !important;
}

/* O nama – Naša priča: photo keeps its full 4:3 frame (no crop), top-aligned with the text. */
body.page-id-14 .elementor-element-7bd7f13 {
	--width: 46% !important;
	width: 46% !important;
}

body.page-id-14 .elementor-element-728ab76 {
	--width: calc(54% - 60px) !important;
	width: calc(54% - 60px) !important;
	min-height: 0 !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
}

@media (max-width: 991px) {
	body.page-id-14 .elementor-element-7bd7f13,
	body.page-id-14 .elementor-element-728ab76 {
		--width: 100% !important;
		width: 100% !important;
	}
}

/* Legal pages (Uslovi korištenja, Politika privatnosti, Politika kolačića). */
.mf-legal .elementor-widget-text-editor {
	width: 100% !important;
	max-width: 860px !important;
	margin: 0 auto !important;
	color: var(--mf-text, #5c5c5c);
	font-size: 17px;
	line-height: 1.7;
}

.mf-legal .elementor-widget-text-editor h2 {
	margin: 40px 0 12px;
	color: var(--mf-secondary, #151515);
	font-size: 24px;
	line-height: 1.3;
}

.mf-legal .elementor-widget-text-editor p,
.mf-legal .elementor-widget-text-editor ul {
	margin: 0 0 16px;
}

.mf-legal .elementor-widget-text-editor ul {
	padding-left: 20px;
}

.mf-legal .elementor-widget-text-editor li {
	margin-bottom: 8px;
}

.mf-legal .elementor-widget-text-editor li::marker {
	color: var(--mf-accent);
}

.mf-legal .elementor-widget-text-editor a {
	color: var(--mf-secondary, #151515);
	text-decoration: underline;
	text-decoration-color: var(--mf-accent);
	text-underline-offset: 3px;
}

.mf-legal .elementor-widget-text-editor a:hover {
	color: var(--mf-accent);
}

.mf-legal .mf-legal__date {
	display: inline-block;
	margin-bottom: 8px;
	padding: 6px 12px;
	border: 1px solid rgba(21, 21, 21, 0.12);
	border-radius: 5px;
	font-size: 14px;
}

/* Reference overview: whole tile opens the category gallery. */
.mf-ref-gallery__link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

@media (max-width: 767px) {
	.mf-legal .elementor-widget-text-editor { font-size: 16px; }
	.mf-legal .elementor-widget-text-editor h2 { margin-top: 32px; font-size: 21px; }
}
