/* Final homepage-only hero and footer presentation overrides. */
body.page-template-page-home .home__hero-scene .bg-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% center;
	border-radius: 0;
	transform: none;
}

body.page-template-page-home .home__hero-scene .bg-wrapper::after,
body.page-template-page-home .home__hero-scene .img-overlay {
	display: none !important;
	background: none !important;
}

body.page-template-page-home .home__hero-scene .wrapper,
body.page-template-page-home .home__hero-scene .bg-wrapper {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

body.page-template-page-home .home__hero-scene .wrapper.desktop .content .inner span.subtitle,
body.page-template-page-home .home__hero-scene .wrapper.mobile .content .inner span.subtitle {
	display: block;
	margin-top: 1.2rem;
	margin-bottom: 1.6rem;
	color: #3f4a1b;
	line-height: 1.45;
}

body.page-template-page-home .home__hero-scene .wrapper.desktop .content .inner span.subtitle::before,
body.page-template-page-home .home__hero-scene .wrapper.mobile .content .inner span.subtitle::before {
	display: none;
}

body.page-template-page-home .home__content .content-wrapper h2 {
	font-size: clamp(2.5rem, 2.8vw, 3.8rem);
}

body.page-template-page-home .home__hero-scene .content {
	top: auto;
	bottom: 0;
	height: auto;
	padding: 2.6rem 0;
	background: rgba(0, 0, 0, 0.35);
}

body.page-template-page-home .home__hero-scene .wrapper.desktop .content {
	position: absolute;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 2.6rem 0;
	align-items: center;
}

body.page-template-page-home .home__hero-scene .content .container,
body.page-template-page-home .home__hero-scene .content .row {
	height: auto;
}

body.page-template-page-home .home__hero-scene .content .row {
	align-items: center;
}

body.page-template-page-home .home__hero-scene .content .inner h1 {
	margin: 0;
	font-size: clamp(3.6rem, 4vw, 5.2rem);
	line-height: 1.02;
}

body.page-template-page-home .home__hero-scene .wrapper.desktop .content .inner span.subtitle,
body.page-template-page-home .home__hero-scene .wrapper.mobile .content .inner span.subtitle {
	margin-top: 0.8rem;
	margin-bottom: 0;
	color: #abb847;
}

body.page-template-page-home .home__hero-scene .content .inner p {
	margin: 0;
	color: #f4f4ec;
}

@media (min-width: 992px) {
	body.page-template-page-home .home__hero-scene .wrapper.desktop .content .inner p {
		font-size: 1.65rem;
		line-height: 1.55;
	}
}

@media (max-width: 991.98px) {
	body.page-template-page-home .home__hero-scene .wrapper.mobile {
		align-items: flex-end;
	}

	body.page-template-page-home .home__hero-scene .wrapper.mobile .content {
		width: 100%;
		padding: 2.4rem 0;
	}

	body.page-template-page-home .home__hero-scene .wrapper.mobile .content .inner h1 {
		font-size: clamp(3.2rem, 7vw, 4.4rem);
	}

	body.page-template-page-home .home__hero-scene .wrapper.mobile .content .inner p {
		margin-top: 1.8rem;
		padding: 0;
		border-left: 0;
		font-size: 1.6rem;
		line-height: 1.5;
	}
}

@media (max-width: 767.98px) {
	body.page-template-page-home .home__hero-scene .wrapper.mobile .content .inner p {
		font-size: 1.45rem;
	}
}

body.page-template-page-home .home__content {
	padding-top: clamp(4rem, 4.5vw, 6rem);
	padding-bottom: 3rem;
	background: #f3f1eb;
	border-top: 2px solid rgba(244, 123, 32, 0.72);
}

body.page-template-page-home .home__intro-blocks {
	padding-top: 1.9rem;
}

body.page-template-page-home .home__intro-blocks .screenmark {
	padding-bottom: 1.2rem;
}

body.page-template-page-home .home__intro-blocks .screenmark .vert-line {
	height: 24px;
}

body.page-template-page-home .home-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	width: 100%;
	max-width: 100%;
	gap: clamp(.75rem, .9vw, 1rem);
	margin-top: 2.8rem;
}

@media (min-width: 992px) {
	body.page-template-page-home .home-product-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0;
		margin-left: 0;
	}

	body.page-template-page-home .home-product-grid > .home-product-card {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
	}
}

body.page-template-page-home .home-product-card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	color: #315b44;
	text-decoration: none;
	background: #f3f0e7;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	transition: transform .3s ease;
}

body.page-template-page-home .home-product-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e7e6e0;
}

body.page-template-page-home .home-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	filter: none;
	transform: scale(1);
	transition: transform .45s cubic-bezier(.2, .65, .3, 1);
}

body.page-template-page-home .home-product-card__content {
	display: flex;
	min-height: 9rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	background: transparent;
}

body.page-template-page-home .home-product-card__content::after {
	content: '\2192';
	flex: 0 0 auto;
	color: #315b44;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
}

body.page-template-page-home .home-product-card__content h3 {
	margin: 0;
	color: #315b44;
	font-size: clamp(1.6rem, 1.35vw, 1.95rem);
	font-weight: 600;
	line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
	body.page-template-page-home .home-product-card:hover,
	body.page-template-page-home .home-product-card:focus-visible {
		color: #315b44;
		text-decoration: none;
		transform: translateY(-2px);
	}

}

@media (max-width: 991.98px) {
	body.page-template-page-home .home-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (max-width: 575.98px) {
	body.page-template-page-home .home-product-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-top: 2.2rem;
	}

	body.page-template-page-home .home-product-card__content {
		min-height: 7rem;
		padding: 1rem 1.2rem;
	}

	body.page-template-page-home .home-product-card__content h3 {
		font-size: 1.35rem;
	}
}

@media (min-width: 992px) {
	body.page-template-page-home .home__hero-scene .wrapper.desktop {
		height: clamp(560px, 43vw, 620px);
		min-height: 560px;
	}

	body.page-template-page-home .home__hero-scene .content .col-lg-4 {
		flex: 0 0 46%;
		max-width: 46%;
	}

	body.page-template-page-home .home__hero-scene .content .col-lg-6 {
		flex: 0 0 54%;
		max-width: 54%;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	body.page-template-page-home .home__hero-scene .wrapper.mobile .bg-wrapper img {
		object-position: 80% center;
	}
}

@media (max-width: 767.98px) {
	body.page-template-page-home .home__hero-scene .wrapper.mobile .bg-wrapper img {
		object-position: 88% center;
	}
}

body.page-template-page-home .part__cta {
	background: #263019;
}

body.page-template-page-home .part__cta h2,
body.page-template-page-home .part__cta p,
body.page-template-page-home .part__cta a {
	color: #f4f4ec !important;
}

body.page-template-page-home .part__cta .btn,
body.page-template-page-home .part__cta .btn.home-cta-primary,
body.page-template-page-home .part__cta .btn:hover,
body.page-template-page-home .part__cta .btn:focus {
	display: inline;
	min-height: 0;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	color: #f4f4ec !important;
	transform: none !important;
}

body.page-template-page-home .part__cta .btn:hover,
body.page-template-page-home .part__cta .btn:focus {
	background: transparent !important;
	color: #dce79b !important;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

body.page-template-page-home .site-branding img,
body.page-template-page-home .part__brands .brands-item,
body.page-template-page-home .part__brands .brands-item img,
body.page-template-page-home .part__usps .usp-item img,
body.page-template-page-home .footer-wrapper .social i {
	opacity: 1;
	filter: none;
}

body.page-template-page-home .part__brands .brands-item:hover,
body.page-template-page-home .part__brands .brands-item:focus-within {
	opacity: 1;
	filter: none;
	transform: translateY(-2px);
}

/* Homepage contact bar replaces the separate JoinChat button. */
body.page-template-page-home .joinchat {
	display: none !important;
}

body.page-template-page-home .home-contact-bar {
	position: fixed;
	top: 50%;
	right: 18px;
	z-index: 8500;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	transform: translateY(-50%);
}

body.page-template-page-home .home-contact-bar__item {
	display: flex;
	align-items: center;
	width: 54px;
	height: 54px;
	overflow: hidden;
	background: var(--douma-green-deep);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 26px rgba(28, 36, 18, 0.18);
	transition: width 260ms cubic-bezier(.22, 1, .36, 1), background-color 200ms ease, transform 200ms ease;
}

body.page-template-page-home .home-contact-bar__item:first-child {
	border-radius: 14px 14px 0 0;
}

body.page-template-page-home .home-contact-bar__item:last-child {
	border-radius: 0 0 0 14px;
}

body.page-template-page-home .home-contact-bar__item:hover,
body.page-template-page-home .home-contact-bar__item:focus-visible {
	width: 200px;
	background: #4c5820;
	color: #fff;
	text-decoration: none;
}

body.page-template-page-home .home-contact-bar__icon {
	display: grid;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	place-items: center;
}

body.page-template-page-home .home-contact-bar__icon svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: currentColor;
}

body.page-template-page-home .home-contact-bar__label {
	padding-right: 18px;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

@media (max-width: 767.98px) {
	body.page-template-page-home .home-contact-bar {
		top: auto;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		flex-direction: row;
		gap: 3px;
		transform: none;
	}

	body.page-template-page-home .home-contact-bar__item,
	body.page-template-page-home .home-contact-bar__item:hover,
	body.page-template-page-home .home-contact-bar__item:focus-visible {
		width: 50px;
		height: 50px;
		border-radius: 12px;
		transform: none;
	}

	body.page-template-page-home .home-contact-bar__icon {
		flex-basis: 50px;
		width: 50px;
		height: 50px;
	}

	body.page-template-page-home .home-contact-bar__label {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-template-page-home .home-contact-bar__item {
		transition: none;
	}
}
