/**
 * Početna — hero carousel (Passim products-home layout).
 */

body.home #qodef-page-inner,
body.page-id-products-home #qodef-page-inner,
.runnerp-home-has-carousel #qodef-page-inner {
	padding-top: 0 !important;
}

body.home .rev_slider_wrapper,
body.page-id-products-home .rev_slider_wrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

body.home rs-module-wrap,
body.page-id-products-home rs-module-wrap {
	min-height: 660px;
}

body.home .elementor-section.elementor-top-section:first-child,
body.page-id-products-home .elementor-section.elementor-top-section:first-child {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.runnerp-home-uses-fallback-hero .elementor-element-3592eab,
body.runnerp-home-uses-fallback-hero #qodef-page-content > .elementor > .elementor-section.elementor-top-section:first-child,
body.runnerp-home-uses-fallback-hero #qodef-page-content .elementor-section.elementor-top-section:first-child,
body.runnerp-home-uses-fallback-hero #qodef-page-content .elementor-widget-slider_revolution,
body.runnerp-home-uses-fallback-hero #qodef-page-content .elementor-widget-revslider,
body.runnerp-home-uses-fallback-hero #qodef-page-content .wp-block-themepunch-revslider {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	visibility: hidden !important;
}

body.runnerp-home-uses-fallback-hero:has(.rev_slider_wrapper) .runnerp-home-hero,
body.runnerp-home-uses-fallback-hero:has(sr7-module) .runnerp-home-hero {
	display: none !important;
}

body.runnerp-home-uses-fallback-hero:has(.rev_slider_wrapper) #qodef-page-content > .elementor > .elementor-section.elementor-top-section:first-child,
body.runnerp-home-uses-fallback-hero:has(.rev_slider_wrapper) #qodef-page-content .elementor-section.elementor-top-section:first-child,
body.runnerp-home-uses-fallback-hero:has(sr7-module) #qodef-page-content > .elementor > .elementor-section.elementor-top-section:first-child,
body.runnerp-home-uses-fallback-hero:has(sr7-module) #qodef-page-content .elementor-section.elementor-top-section:first-child {
	display: block !important;
}

.runnerp-home-hero {
	width: 100%;
	padding: 118px 0 40px;
	box-sizing: border-box;
	background: #fff;
}

.runnerp-home-hero__box {
	position: relative;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
}

.runnerp-home-hero__track {
	position: relative;
	width: 100%;
	height: 660px;
	overflow: hidden;
}

.runnerp-home-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 0;
	transition: opacity 0.9s ease, visibility 0.9s ease;
}

.runnerp-home-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.runnerp-home-hero__canvas {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #f9f9f9;
}

.runnerp-home-hero__cover {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #f9f9f9;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.runnerp-home-hero__layout {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	padding: 40px 56px 72px;
	box-sizing: border-box;
}

.runnerp-home-hero__copy {
	position: relative;
	z-index: 2;
	flex: 0 1 42%;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	padding: 12px 8px 12px 24px;
}

.runnerp-home-hero__title {
	margin: 0 0 20px;
	font-family: inherit;
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #604235;
}

.runnerp-home-hero__text {
	margin: 0 0 34px;
	max-width: 400px;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 18px;
	line-height: 1.5;
	color: #604235;
}

.runnerp-home-hero__btn {
	display: inline-block;
	padding: 14px 38px;
	border: 1px solid #B08968;
	background: transparent;
	color: #604235;
	text-decoration: none;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.runnerp-home-hero__btn:hover {
	background-color: #7A5A45;
	border-color: #7A5A45;
	color: #F3ECE6;
}

.runnerp-home-hero__nav {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.runnerp-home-hero__dot {
	width: 10px;
	height: 10px;
	border: 1px solid #B08968;
	border-radius: 50%;
	padding: 0;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.runnerp-home-hero__dot.is-active {
	background: #B08968;
	border-color: #B08968;
}

@media only screen and (max-width: 1200px) {
	.runnerp-home-hero__box {
		max-width: calc(100% - 40px);
	}

	.runnerp-home-hero__track {
		height: 600px;
	}

	.runnerp-home-hero__layout {
		padding: 32px 40px 64px;
	}

	.runnerp-home-hero__copy {
		flex: 0 1 46%;
	}
}

@media only screen and (max-width: 767px) {
	.runnerp-home-hero {
		padding-top: 100px;
	}

	.runnerp-home-hero__box {
		max-width: calc(100% - 24px);
	}

	.runnerp-home-hero__track {
		height: auto;
		min-height: 620px;
	}

	.runnerp-home-hero__cover {
		background-position: center top;
	}

	.runnerp-home-hero__layout {
		align-items: flex-end;
		justify-content: flex-end;
		padding: 28px 20px 56px;
	}

	.runnerp-home-hero__copy {
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
		padding: 20px 16px;
		background: rgba(249, 249, 249, 0.9);
	}

	.runnerp-home-hero__title {
		font-size: clamp(1.65rem, 8vw, 2.25rem);
	}

	.runnerp-home-hero__text {
		font-size: 16px;
		margin-bottom: 24px;
	}

	.runnerp-home-hero__nav {
		bottom: 18px;
	}
}
